[Groonga-mysql-commit] mroonga/mroonga [master] don't use MYSQL51 macro.

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2011年 8月 12日 (金) 12:06:04 JST


Kouhei Sutou	2011-08-12 03:06:04 +0000 (Fri, 12 Aug 2011)

  New Revision: 83a760b530740a0b2833cc06d05cd55ee648e53f

  Log:
    don't use MYSQL51 macro.

  Modified files:
    mrn_table.cc

  Modified: mrn_table.cc (+2 -2)
===================================================================
--- mrn_table.cc    2011-08-12 03:01:41 +0000 (701efd4)
+++ mrn_table.cc    2011-08-12 03:06:04 +0000 (a9336d0)
@@ -32,10 +32,10 @@
 #define MYSQL_SERVER 1
 #include "mysql_version.h"
 
-#ifdef MYSQL51
+#if MYSQL_VERSION_ID < 50500
 #  include <mysql_priv.h>
 #  include <mysql/plugin.h>
-#else /* MYSQL51 */
+#else
 #  include <sql_priv.h>
 #  include <sql_class.h>
 #  include <probes_mysql.h>




Groonga-mysql-commit メーリングリストの案内
アーカイブの一覧に戻る