[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] [mysql51] define fallback MY_ALL_CHARSETS_SIZE value.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:35:10 JST 2012


Kouhei Sutou	2011-12-28 10:11:28 +0900 (Wed, 28 Dec 2011)

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

  Log:
    [mysql51] define fallback MY_ALL_CHARSETS_SIZE value.

  Modified files:
    mrn_mysql_compat.h

  Modified: mrn_mysql_compat.h (+5 -0)
===================================================================
--- mrn_mysql_compat.h    2011-12-28 10:09:15 +0900 (01b86d0)
+++ mrn_mysql_compat.h    2011-12-28 10:11:28 +0900 (6f0eb14)
@@ -56,6 +56,11 @@
 #  define MRN_PLUGIN_HAVE_FLAGS 1
 #endif
 
+// for MySQL < 5.5
+#ifndef MY_ALL_CHARSETS_SIZE
+#  define MY_ALL_CHARSETS_SIZE 256
+#endif
+
 #ifndef MRN_MARIADB_P
   typedef char *range_id_t;
 #endif
-------------- next part --------------
HTML����������������������������...
Download 



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