summaryrefslogtreecommitdiff
path: root/storage/rocksdb/mysql-test/rocksdb/t/tbl_opt_min_rows.test
blob: d62a8771ea31fe0bd535537a06a5aea2acad994d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--source include/have_rocksdb.inc

# 
# Check whether MIN_ROWS 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
# 

--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings

CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=rocksdb MIN_ROWS=1;
SHOW CREATE TABLE t1;

ALTER TABLE t1 MIN_ROWS=10000;
SHOW CREATE TABLE t1;

DROP TABLE t1;