1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#
# Tests for properly escaping embedded quotes when reading from the transaction log
#
# Ignore startup/shutdown events
--disable_query_log
--source ../plugin/transaction_log/tests/t/truncate_log.inc
--enable_query_log
CREATE TABLE t (a INT NOT NULL PRIMARY KEY, b VARCHAR(10));
INSERT INTO t VALUES (1, "don't");
# Read in the transaction.log.
--replace_result $DRIZZLETEST_VARDIR VARDIR
--exec $DRIZZLE_TRX_READER $DRIZZLETEST_VARDIR/master-data/local/transaction.log
DROP TABLE t;
# Truncate the log file to reset for the next test
--source ../plugin/transaction_log/tests/t/truncate_log.inc
|