Tag: cws_src680_dba24c
User: fs      
Date: 2007-10-16 08:10:49+0000
Modified:
   dba/dbaccess/source/core/api/SingleSelectQueryComposer.cxx

Log:
 why retrieve the columns/tables without need? This is expensive ...

File Changes:

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

File [changed]: SingleSelectQueryComposer.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/SingleSelectQueryComposer.cxx?r1=1.23.76.3&r2=1.23.76.4
Delta lines:  +6 -5
-------------------
--- SingleSelectQueryComposer.cxx       2007-09-28 19:18:43+0000        
1.23.76.3
+++ SingleSelectQueryComposer.cxx       2007-10-16 08:10:46+0000        
1.23.76.4
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: SingleSelectQueryComposer.cxx,v $
  *
- *  $Revision: 1.23.76.3 $
+ *  $Revision: 1.23.76.4 $
  *
- *  last change: $Author: fs $ $Date: 2007/09/28 19:18:43 $
+ *  last change: $Author: fs $ $Date: 2007/10/16 08:10:46 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -388,8 +388,9 @@
     m_aPureSelectSQL = getPureSelectStatement( m_aSqlIterator.getParseTree(), 
m_xConnection );
 
     // update columns and tables
-       getColumns();
-       getTables();
+    // why? Shouldn't this be done on request only?
+       //getColumns();
+       //getTables();
 }
 // 
-----------------------------------------------------------------------------
 Sequence< Sequence< PropertyValue > > SAL_CALL 
OSingleSelectQueryComposer::getStructuredHavingClause(  ) throw 
(RuntimeException)




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

Reply via email to