summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_basic.test
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 /mysql-test/t/ndb_basic.test
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 'mysql-test/t/ndb_basic.test')
-rw-r--r--mysql-test/t/ndb_basic.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/ndb_basic.test b/mysql-test/t/ndb_basic.test
index 144e466d937..c8cf5823500 100644
--- a/mysql-test/t/ndb_basic.test
+++ b/mysql-test/t/ndb_basic.test
@@ -606,4 +606,12 @@ select * from t1 order by counter;
drop table t1;
+#
+# BUG#14514 Creating table with packed key fails silently
+#
+
+CREATE TABLE t1 ( b INT ) PACK_KEYS = 0 ENGINE = ndb;
+select * from t1;
+drop table t1;
+
# End of 4.1 tests