Tag: cws_src680_dba30
User: fs      
Date: 06/03/22 11:36:45

Modified:
 /dba/dbaccess/source/core/api/
  RowSet.cxx

Log:
 #i10000#

File Changes:

Directory: /dba/dbaccess/source/core/api/
=========================================

File [changed]: RowSet.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSet.cxx?r1=1.133.12.7&r2=1.133.12.8
Delta lines:  +5 -6
-------------------
--- RowSet.cxx  21 Mar 2006 18:20:17 -0000      1.133.12.7
+++ RowSet.cxx  22 Mar 2006 19:36:41 -0000      1.133.12.8
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: RowSet.cxx,v $
  *
- *  $Revision: 1.133.12.7 $
+ *  $Revision: 1.133.12.8 $
  *
- *  last change: $Author: fs $ $Date: 2006/03/21 18:20:17 $
+ *  last change: $Author: fs $ $Date: 2006/03/22 19:36:41 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1691,8 +1691,7 @@
                                                
::dbtools::setObjectWithInfo(xParam,i,aIter->makeAny(),aIter->getTypeKind());
                                        }
 
-                    Reference< XResultSet> xResults;
-                                       xResults = m_xStatement->executeQuery();
+                    Reference< XResultSet> xResults( 
m_xStatement->executeQuery() );
                                        // create the composed table name
                                        ::rtl::OUString aComposedTableName;
                                        if(m_aUpdateTableName.getLength())
@@ -1700,7 +1699,7 @@
 
                     {
                         RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "dbaccess", 
"[EMAIL PROTECTED]", "ORowSet::execute_NoApprove_NoNewConn::createCache" );
-                        m_pCache = new 
ORowSetCache(xRs,m_xAnalyzer,m_xServiceManager,m_aParameterRow,aComposedTableName,m_bModified,m_bNew);
+                        m_pCache = new 
ORowSetCache(xResults,m_xAnalyzer,m_xServiceManager,m_aParameterRow,aComposedTableName,m_bModified,m_bNew);
                         if ( m_nResultSetConcurrency == 
ResultSetConcurrency::READ_ONLY )
                         {
                             m_nPrivileges = Privilege::SELECT;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to