2
# Tests ordering of transaction ID, that SELECT queries
3
# do not increment the transaction ID, and that the proper
4
# generation of transaction IDs is done for DDL operations.
8
DROP TABLE IF EXISTS t1;
12
id INT NOT NULL PRIMARY KEY
13
, padding VARCHAR(200) NOT NULL
16
INSERT INTO t1 VALUES (1, "I love testing.");
17
INSERT INTO t1 VALUES (2, "I hate testing.");
21
ALTER TABLE t1 CHANGE COLUMN padding less_padding VARCHAR(180) NOT NULL;
24
# Should be no result here...
27
SELECT * FROM t1 WHERE id = 3;