summaryrefslogtreecommitdiff
path: root/mysql-test/t/myisam.test
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2005-08-29 17:24:07 +0200
committerunknown <ingo@mysql.com>2005-08-29 17:24:07 +0200
commit27201ccb064b7b2e851ada4610d7b20ffc37679d (patch)
tree207de0f617da38d823c92d51c86eba8fdd0c23e9 /mysql-test/t/myisam.test
parent3a65c1b1dbfe86ff8ade191eaf0a631fe6ddc63a (diff)
downloadmariadb-git-27201ccb064b7b2e851ada4610d7b20ffc37679d.tar.gz
Bug#10056 - PACK_KEYS option take values greater than 1 while creating table
Added a switch to reject illegal values for PACK_KEYS. mysql-test/r/myisam.result: Bug#10056 - PACK_KEYS option take values greater than 1 while creating table The test result. mysql-test/t/myisam.test: Bug#10056 - PACK_KEYS option take values greater than 1 while creating table The test case.
Diffstat (limited to 'mysql-test/t/myisam.test')
-rw-r--r--mysql-test/t/myisam.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/myisam.test b/mysql-test/t/myisam.test
index dfb00d5686c..a1ccdccb8c3 100644
--- a/mysql-test/t/myisam.test
+++ b/mysql-test/t/myisam.test
@@ -675,4 +675,14 @@ show keys from t1;
drop table t1;
+#
+# Bug#10056 - PACK_KEYS option take values greater than 1 while creating table
+#
+create table t1 (c1 int) engine=myisam pack_keys=0;
+create table t2 (c1 int) engine=myisam pack_keys=1;
+create table t3 (c1 int) engine=myisam pack_keys=default;
+--error 1064
+create table t4 (c1 int) engine=myisam pack_keys=2;
+drop table t1, t2, t3;
+
# End of 4.1 tests