null+****@clear*****
null+****@clear*****
2011年 6月 11日 (土) 10:15:13 JST
Kouhei Sutou 2011-06-11 01:15:13 +0000 (Sat, 11 Jun 2011) New Revision: 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 01:14:36 +0000 (57713dd) +++ ha_mroonga.cc 2011-06-11 01:15:13 +0000 (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);