Navigation Menu

Skip to content

Commit

Permalink
fix crash bug on delete table. fixes #1063
Browse files Browse the repository at this point in the history
It will be caused on patition storage engine enabled MySQL
5.1.X like Ubuntu 10.04.

Reported by Isao Sugimoto. Thanks!!!
  • Loading branch information
kou committed Sep 25, 2011
1 parent 82d55b8 commit f3e1059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cc
Expand Up @@ -2501,7 +2501,7 @@ 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
#ifdef WITH_PARTITION_STORAGE_ENGINE
tmp_table.part_info = NULL;
#endif
if (!(tmp_share = mrn_get_share(name, &tmp_table, &error)))
Expand Down

0 comments on commit f3e1059

Please sign in to comment.