summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-11-21 12:27:58 +0100
committerunknown <msvensson@neptunus.(none)>2005-11-21 12:27:58 +0100
commit95b92b4369cd85c3c04d1910e30333e862f416fa (patch)
tree6758d03590023e530184cc45b5e37de118b29418 /sql/handler.cc
parent83bbd30c480d97f57203b999cff4517f5e04bf13 (diff)
downloadmariadb-git-95b92b4369cd85c3c04d1910e30333e862f416fa.tar.gz
Bug #14514 Creating table with packed key fails silently
- Backport from 5.0 include/my_base.h: Rename HA_CREATE_FROM_ENGINE to HA_OPTION_CREATE_FROM_ENGINE, ie. it's a bit in the table_options variable mysql-test/r/ndb_basic.result: Add test result mysql-test/t/ndb_basic.test: Add test case for bug14514 sql/ha_ndbcluster.cc: Use new bitmask for table_options to detect if create from engine sql/handler.cc: Use new bit for create from engine
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index e6bc1496a00..e166f9885fc 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -1382,7 +1382,7 @@ int ha_create_table_from_engine(THD* thd,
DBUG_RETURN(3);
update_create_info_from_table(&create_info, &table);
- create_info.table_options|= HA_CREATE_FROM_ENGINE;
+ create_info.table_options|= HA_OPTION_CREATE_FROM_ENGINE;
if (lower_case_table_names == 2 &&
!(table.file->table_flags() & HA_FILE_BASED))