1--source include/have_rocksdb.inc
2
3#
4# Check whether ROW_FORMAT 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
12--disable_warnings
13DROP TABLE IF EXISTS t1;
14--enable_warnings
15
16CREATE TABLE t1 (a INT, b CHAR(8) PRIMARY KEY) ENGINE=rocksdb ROW_FORMAT=FIXED;
17SHOW CREATE TABLE t1;
18
19ALTER TABLE t1 ROW_FORMAT=DYNAMIC;
20SHOW CREATE TABLE t1;
21
22DROP TABLE t1;
23
24