summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-06-15 19:10:00 +0200
committerSergei Golubchik <sergii@pisem.net>2013-06-15 19:10:00 +0200
commit0973b7a8d20751b56c8ca3f861ea2fbf060e5ab3 (patch)
tree2277f5f7576f6e4d6799609a542fddaf0da7a016 /sql/table.h
parent54b3472ef1928df18f23869e304a6d018db89094 (diff)
downloadmariadb-git-0973b7a8d20751b56c8ca3f861ea2fbf060e5ab3.tar.gz
partitioning frm bugs:
1. default db type for partitions was stored as 1-byte DB_TYPE code, which doesn't work for dynamically generated codes. 2. storage engine plugin for default db type wasn't locked at all, which could trivially crash for dynamic plugins. Now the storage engine name is stored in the extra2 section, and the plugin is correctly locked.
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h
index e376ee2ad2f..068cbe9a763 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -741,7 +741,7 @@ struct TABLE_SHARE
char *partition_info_str;
uint partition_info_str_len;
uint partition_info_buffer_size;
- handlerton *default_part_db_type;
+ plugin_ref default_part_plugin;
#endif
/**