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