1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#
# Simple test of the serial event log for multi-value INSERT statements
#
# We create a table and insert some records
# into it.
#
# We then use the transaction_reader in drizzled/message/ to read the events.
#
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
CREATE TABLE t1 (
id INT NOT NULL
, padding VARCHAR(200) NOT NULL
);
INSERT INTO t1 VALUES (1, "I love testing."), (2, "I hate testing.");
# Read in the event.log. We must cut out all the Timestamp: XXXXXX
# because they are not deterministic.
--exec ../drizzled/message/command_reader var/master-data/event.log | sed 's/Timestamp: [0-9]*//g'
|