2
# Simple test of the transaction log for testing REPLACE command
4
# We create a table then fill it with a few records and then
5
# issue a few REPLACE statements on it.
9
DROP TABLE IF EXISTS t1, t2;
14
, padding VARCHAR(200) NOT NULL
17
INSERT INTO t1 VALUES (1, "I love testing.");
18
INSERT INTO t1 VALUES (2, "I hate testing.");
20
# Should delete original and insert a new one
21
# with a different "padding" column value...
23
REPLACE INTO t1 VALUE (2, "I love testing.");