| 1 |
RESET MASTER; |
| 2 |
# |
| 3 |
# 1. Create a table with 2 values. |
| 4 |
# Wait that each transaction appears individually in the table |
| 5 |
CREATE TABLE t1 (a INT NOT NULL PRIMARY KEY) ENGINE=INNODB; |
| 6 |
INSERT INTO t1 VALUES (1); |
| 7 |
INSERT INTO t1 VALUES (2); |
| 8 |
# |
| 9 |
# 2. Assert the table is not compressed |
| 10 |
include/assert.inc [COMMITTED_GTIDS SERVER_UUID:1-3] |
| 11 |
include/assert.inc [The mysql gtid table should have 3 rows] |
| 12 |
# |
| 13 |
# 3. Restart the server |
| 14 |
# Assert the table is compressed |
| 15 |
# restart |
| 16 |
include/assert.inc [The mysql gtid table should have 1 row] |
| 17 |
# |
| 18 |
# 4. Cleanup |
| 19 |
DROP TABLE t1; |