[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] make re-buildable on MySQL 5.1.

Back to archive index

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


Kouhei Sutou	2011-06-11 10:15:13 +0900 (Sat, 11 Jun 2011)

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

  Log:
    make re-buildable on MySQL 5.1.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+2 -0)
===================================================================
--- ha_mroonga.cc    2011-06-11 10:14:36 +0900 (57713dd)
+++ ha_mroonga.cc    2011-06-11 10:15:13 +0900 (f7c8a3d)
@@ -1665,7 +1665,9 @@ int ha_mroonga::delete_table(const char *name)
   /* This is previous version */
   tmp_table_share->version--;
   tmp_table.s = tmp_table_share;
+#if MYSQL_VERSION_ID >= 50500
   tmp_table.part_info = NULL;
+#endif
   if (!(tmp_share = mrn_get_share(name, &tmp_table, &error)))
   {
     mrn_free_table_share(tmp_table_share);
-------------- next part --------------
HTML����������������������������...
Download 



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