[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] suppress string charset auto-conversion.

Back to archive index

Tetsuro IKEDA null+****@clear*****
Thu Oct 4 10:40:17 JST 2012


Tetsuro IKEDA	2009-07-29 17:08:04 +0900 (Wed, 29 Jul 2009)

  New Revision: e67484f88f255dafdbac77b416ee57e7591bdc87
  https://github.com/mroonga/mroonga/commit/e67484f88f255dafdbac77b416ee57e7591bdc87

  Log:
    suppress string charset auto-conversion.

  Modified files:
    ha_groonga.cc

  Modified: ha_groonga.cc (+1 -1)
===================================================================
--- ha_groonga.cc    2009-07-28 19:20:41 +0900 (494bcd1)
+++ ha_groonga.cc    2009-07-29 17:08:04 +0900 (9314476)
@@ -544,7 +544,7 @@ int ha_groonga::rnd_next(uchar *buf)
         case (MYSQL_TYPE_VARCHAR) :
           vchar = GRN_TEXT_VALUE(record->value[j]);
           (*field)->set_notnull();
-          (*field)->store(vchar, GRN_BULK_WSIZE(record->value[j]), system_charset_info);
+          (*field)->store(vchar, GRN_BULK_WSIZE(record->value[j]), (*field)->charset());
           break;
         }
         j++;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index