2
# Simple test of the serial event log
4
# We create a table and insert some records
7
# We then use the transaction_reader in drizzled/message/ to read the events.
11
DROP TABLE IF EXISTS t1;
16
, padding VARCHAR(200) NOT NULL
20
INSERT INTO t1 VALUES (1, "I love testing.");
21
INSERT INTO t1 VALUES (2, "I hate testing.");
23
UPDATE t1 SET padding= "I REALLY love testing." WHERE id = 1;
24
UPDATE t1 SET padding= "I REALLY hate testing." WHERE id = 2;
26
# Read in the event.log. We must cut out all the Timestamp: XXXXXX
27
# because they are not deterministic.
28
--exec ../drizzled/message/command_reader var/master-data/event.log | sed 's/Timestamp: [0-9]*//g'