Tag: cws_dev300_dba30d
User: oj      
Date: 2008-05-28 13:58:56+0000
Modified:
   dba/connectivity/source/drivers/mozab/MResultSet.cxx

Log:
 #i49974# correct test_for_null

File Changes:

Directory: /dba/connectivity/source/drivers/mozab/
==================================================

File [changed]: MResultSet.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MResultSet.cxx?r1=1.32&r2=1.32.20.1
Delta lines:  +4 -5
-------------------
--- MResultSet.cxx      2008-04-10 10:04:25+0000        1.32
+++ MResultSet.cxx      2008-05-28 13:58:54+0000        1.32.20.1
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: MResultSet.cxx,v $
- * $Revision: 1.32 $
+ * $Revision: 1.32.20.1 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -1038,11 +1038,10 @@
 
         if (SQL_ISTOKEN(parseTree->getChild(2),NOT))
         {
-            ::dbtools::throwGenericSQLException(
-                        ::rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM("Statement too complex")),NULL);
+            op = MQueryOp::Exists;
         }
         else
-                op = MQueryOp::Exists;
+            op = MQueryOp::DoesNotExist;
 
         ::rtl::OUString sTableRange;
         
m_pSQLIterator->getColumnRange(parseTree->getChild(0),columnName,sTableRange);




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

Reply via email to