--source include/have_rocksdb.inc

# 
# Check whether KEY_BLOCK_SIZE option 
# is supported in CREATE and ALTER TABLE
#
# Note: the test does not check whether the option
#       has any real effect on the table, only 
#       that it's accepted
# 

CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=ROCKSDB KEY_BLOCK_SIZE=8;
SHOW CREATE TABLE t1;

ALTER TABLE t1 KEY_BLOCK_SIZE=1;
SHOW CREATE TABLE t1;

DROP TABLE t1;
