1# Tests for setting innodb-page-size=64k;
2
3-- source include/have_innodb.inc
4-- source include/have_innodb_64k.inc
5
6# Test COMPRESSED table
7-- source suite/innodb/include/create_options_invalid.inc
8
9# This test is run with 5M buffer pool size
10let $buf_pool_size = `SELECT @@innodb_buffer_pool_size`;
11
12if ($buf_pool_size != 5242880) {
13  --skip "Test requires 5M buffer pool size"
14}
15
16# Test max inline field length should < 16384.
17CREATE TABLE t1 (id int, a TEXT) ROW_FORMAT=COMPACT;
18
19INSERT INTO t1 VALUES (1, REPEAT('a',2000)), (2, REPEAT('a',2000));
20
21UPDATE t1 SET a=REPEAT('a',31000) WHERE id = 1;
22
23INSERT INTO t1 VALUES (1, REPEAT('a',33000));
24
25DROP TABLE t1;
26