2
# Simple test of the serial event log for single INSERT SELECT statements
4
# We create a table and insert some records
5
# into it. We then create another table and
6
# INSERT SELECT from the first table into the
9
# We then use the command_reader in drizzled/message/ to read the events.
13
DROP TABLE IF EXISTS t1;
14
DROP TABLE IF EXISTS t2;
19
, padding VARCHAR(200) NOT NULL
22
INSERT INTO t1 VALUES (1, "I love testing.");
23
INSERT INTO t1 VALUES (2, "I hate testing.");
27
, padding VARCHAR(200) NOT NULL
30
INSERT INTO t2 SELECT * FROM t1;