Date: Tuesday, March 7, 2006 @ 10:28:17
  Author: csaba
    Path: /cvsroot/carob/libmysequoia/src

Modified: CarobMySQL.cpp (1.60 -> 1.61)

Every time when we are connecting send the charset to the server.


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


Index: libmysequoia/src/CarobMySQL.cpp
diff -u libmysequoia/src/CarobMySQL.cpp:1.60 
libmysequoia/src/CarobMySQL.cpp:1.61
--- libmysequoia/src/CarobMySQL.cpp:1.60        Mon Mar  6 11:18:49 2006
+++ libmysequoia/src/CarobMySQL.cpp     Tue Mar  7 10:28:17 2006
@@ -176,8 +176,9 @@
   if (!mysqlPtr->options.charset_name || !*mysqlPtr->options.charset_name)
   {
     mysqlPtr->options.charset_name = cstrdup("latin1");
-    conv.set_code(mysqlPtr->options.charset_name);
   }
+  /* send it to the server */
+  conv.set_code(mysqlPtr->options.charset_name);
   
   /* Check for delayed connection. If db name not given, the connection can't 
happen, because sequoia doesn't support it.
    * The real connection will happen after the user call the command 
mysql_select_db or mysql_real_connect */

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

Reply via email to