1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
CREATE TABLE t1 (a INT);
RESET MASTER;
SET TIMESTAMP= UNIX_TIMESTAMP("2031-01-01 12:00:00");
INSERT INTO t1 VALUES(1);
SET TIMESTAMP= UNIX_TIMESTAMP("2032-01-01 12:00:00");
INSERT INTO t1 VALUES(2);
SET TIMESTAMP= UNIX_TIMESTAMP("2033-01-01 12:00:00");
INSERT INTO t1 VALUES(3);
FLUSH LOGS;
SET TIMESTAMP= UNIX_TIMESTAMP("2034-01-01 12:00:00");
INSERT INTO t1 VALUES(4);
SET TIMESTAMP= UNIX_TIMESTAMP("2035-01-01 12:00:00");
INSERT INTO t1 VALUES(5);
FLUSH LOGS;
==== Local ====
---- base64-output with streaming input----
---- offset with streaming input----
---- start-position with streaming input----
include/assert_grep.inc ["The events before start position should not appear in the log file"]
---- stop-position with streaming input----
---- start-position stop-position with streaming input----
---- start-datetime with streaming input----
include/assert_grep.inc ["The events after start datetime should appear in the log file"]
include/assert_grep.inc ["The events before start datetime should not appear in the log file"]
---- stop-datetime with streaming input----
---- start-datetime stop-datetime with streaming input----
==== Local with 2 binlogs on command line ====
---- base64-output with streaming input----
---- offset with streaming input----
---- start-position with streaming input----
include/assert_grep.inc ["The events before start position should not appear in the log file"]
---- stop-position with streaming input----
---- start-position stop-position with streaming input----
---- start-datetime with streaming input----
include/assert_grep.inc ["The events after start datetime should appear in the log file"]
include/assert_grep.inc ["The events before start datetime should not appear in the log file"]
---- stop-datetime with streaming input----
---- start-datetime stop-datetime with streaming input----
==== clean up ====
DROP TABLE t1;
|