diff options
author | unknown <ingo@mysql.com> | 2005-08-29 17:24:07 +0200 |
---|---|---|
committer | unknown <ingo@mysql.com> | 2005-08-29 17:24:07 +0200 |
commit | 27201ccb064b7b2e851ada4610d7b20ffc37679d (patch) | |
tree | 207de0f617da38d823c92d51c86eba8fdd0c23e9 /mysql-test/r/myisam.result | |
parent | 3a65c1b1dbfe86ff8ade191eaf0a631fe6ddc63a (diff) | |
download | mariadb-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/r/myisam.result')
-rw-r--r-- | mysql-test/r/myisam.result | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/myisam.result b/mysql-test/r/myisam.result index 71cb76fe844..3501283cc62 100644 --- a/mysql-test/r/myisam.result +++ b/mysql-test/r/myisam.result @@ -1274,3 +1274,9 @@ show keys from t1; Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment t1 1 a 1 a A 8 NULL NULL YES BTREE drop table t1; +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; +create table t4 (c1 int) engine=myisam pack_keys=2; +ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2' at line 1 +drop table t1, t2, t3; |