Date: Friday, December 30, 2005 @ 17:59:36
  Author: gilles
    Path: /cvsroot/carob/carob

Modified: include/Statement.hpp (1.21 -> 1.22) src/Statement.cpp (1.21 ->
          1.22)

Added missing const for endOfResultList


-----------------------+
 include/Statement.hpp |    2 +-
 src/Statement.cpp     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Index: carob/include/Statement.hpp
diff -u carob/include/Statement.hpp:1.21 carob/include/Statement.hpp:1.22
--- carob/include/Statement.hpp:1.21    Fri Dec 30 17:52:11 2005
+++ carob/include/Statement.hpp Fri Dec 30 17:59:36 2005
@@ -355,7 +355,7 @@
   /** Should the driver to escape processing before sending to the DB? */
   bool                    escapeProcessing;
   /** End of result list marker, declared and initialized once for all */
-  static ResultSetOrUpdateCount endOfResultList;
+  static const ResultSetOrUpdateCount endOfResultList;
   /**
    * Tests if this statement is closed.
    * @return <code>true</code> if this statement is closed
Index: carob/src/Statement.cpp
diff -u carob/src/Statement.cpp:1.21 carob/src/Statement.cpp:1.22
--- carob/src/Statement.cpp:1.21        Fri Dec 30 17:52:11 2005
+++ carob/src/Statement.cpp     Fri Dec 30 17:59:36 2005
@@ -28,7 +28,7 @@
 
 using namespace CarobNS;
 
-ResultSetOrUpdateCount Statement::endOfResultList = {false, {-1}};
+const ResultSetOrUpdateCount Statement::endOfResultList = {false, {-1}};
 
 Statement::Statement(Connection* c) :
 connectionPtr(c),

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

Reply via email to