Date: Tuesday, January 31, 2006 @ 16:11:42
  Author: zsolt
    Path: /cvsroot/carob/libmysequoia/src

Modified: CarobMySQL.cpp (1.41 -> 1.42)

implemented push_init_command: to put an sql command on queue only if the 
command is not null.


----------------+
 CarobMySQL.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: libmysequoia/src/CarobMySQL.cpp
diff -u libmysequoia/src/CarobMySQL.cpp:1.41 
libmysequoia/src/CarobMySQL.cpp:1.42
--- libmysequoia/src/CarobMySQL.cpp:1.41        Tue Jan 31 14:58:20 2006
+++ libmysequoia/src/CarobMySQL.cpp     Tue Jan 31 16:11:42 2006
@@ -656,6 +656,8 @@
 CarobMYSQL::push_init_command(const char *cmd)
 {
   LOG4CXX_DEBUG(logger, "Entering push_init_command: cmd=" << cmd);
+  if (cmd && *cmd)
+    init_cmd_list.push_back(string(cmd));
   LOG4CXX_DEBUG(logger, "Leaving push_init_command.");
 }
 

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

Reply via email to