summaryrefslogtreecommitdiff
path: root/sql/unireg.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/unireg.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/unireg.h')
-rw-r--r--sql/unireg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 5e232becbb2..6662c63871e 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -181,6 +181,7 @@
*/
enum extra2_frm_value_type {
EXTRA2_TABLEDEF_VERSION=0,
+ EXTRA2_DEFAULT_PART_ENGINE=1,
#define EXTRA2_ENGINE_IMPORTANT 128