Date: Monday, November 28, 2005 @ 14:23:02
  Author: gilles
    Path: /cvsroot/carob/carob/src

Modified: Connection.cpp (1.28 -> 1.29)

Fixed bad comparison (== instead of !=) that made retrieval of next results 
impossible


----------------+
 Connection.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: carob/src/Connection.cpp
diff -u carob/src/Connection.cpp:1.28 carob/src/Connection.cpp:1.29
--- carob/src/Connection.cpp:1.28       Mon Nov 28 13:52:16 2005
+++ carob/src/Connection.cpp    Mon Nov 28 14:23:02 2005
@@ -646,7 +646,7 @@
     if (tag == TT_EXCEPTION)
       receiveException();
 
-    if (tag == TT_NOT_EXCEPTION)
+    if (tag != TT_NOT_EXCEPTION)
       throw ProtocolException(L"Protocol exception while trying fetchNext");
 
     // success, now we can let the DriverResultSet caller receive its data.

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to