Tag: cws_src680_qiq
User: fs      
Date: 06/05/15 06:45:36

Modified:
 /dba/connectivity/source/parse/
  sqliterator.cxx

Log:
 #i51143# heavily extended the heuristics to allow queries in queries - still 
need a better indicator for allowing this feature

File Changes:

Directory: /dba/connectivity/source/parse/
==========================================

File [changed]: sqliterator.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/parse/sqliterator.cxx?r1=1.46.78.1&r2=1.46.78.2
Delta lines:  +5 -5
-------------------
--- sqliterator.cxx     10 May 2006 10:53:22 -0000      1.46.78.1
+++ sqliterator.cxx     15 May 2006 13:45:33 -0000      1.46.78.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: sqliterator.cxx,v $
  *
- *  $Revision: 1.46.78.1 $
+ *  $Revision: 1.46.78.2 $
  *
- *  last change: $Author: fs $ $Date: 2006/05/10 10:53:22 $
+ *  last change: $Author: fs $ $Date: 2006/05/15 13:45:33 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -121,10 +121,10 @@
                     ||  m_xDatabaseMetaData->supportsSubqueriesInIns()
                     ||  m_xDatabaseMetaData->supportsSubqueriesInQuantifieds()
                     ||  m_xDatabaseMetaData->supportsCorrelatedSubqueries()
+                    ||  m_xDatabaseMetaData->getMaxTablesInSelect() > 1
                     );
-            // TODO: is there a better way to determine this? The above is not 
really true, since
-            // in theory, there might be DBs which support sub queries in FROM 
(which is what we're really
-            // interested in), but none of the above.
+            // TODO: is there a better way to determine this? The above is not 
really true. More precise,
+            // it's a very generous heuristics ...
 
             if ( bSupportsSubQueries )
             {




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

Reply via email to