1--source include/have_rocksdb.inc
2
3#
4# Check whether PACK KEYS option
5# is supported in CREATE and ALTER TABLE
6#
7# Note: the test does not check whether the option
8#       has any real effect on the table, only
9#       that it's accepted
10#
11
12CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=ROCKSDB PACK_KEYS=1;
13SHOW CREATE TABLE t1;
14
15ALTER TABLE t1 PACK_KEYS=0;
16SHOW CREATE TABLE t1;
17
18DROP TABLE t1;
19