32 lines
589 B
Plaintext
32 lines
589 B
Plaintext
|
|
--source include/have_debug.inc
|
|
--source include/have_binlog_format_row.inc
|
|
|
|
#
|
|
# Test case for BUG#13738296
|
|
#
|
|
#
|
|
|
|
--disable_result_log
|
|
--disable_query_log
|
|
SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
|
|
CREATE TABLE t (a VARCHAR(1000000));
|
|
BEGIN;
|
|
INSERT INTO t VALUES (REPEAT('a', 20000));
|
|
SAVEPOINT sp;
|
|
INSERT INTO t VALUES (REPEAT('a', 20000));
|
|
ROLLBACK TO sp;
|
|
|
|
COMMIT;
|
|
|
|
SET sql_mode = default;
|
|
DROP TABLE t;
|
|
|
|
# If the bug had not been fixed, this would result in an
|
|
# error stating that the binlog could not be read.
|
|
SHOW BINLOG EVENTS;
|
|
--enable_result_log
|
|
--enable_query_log
|
|
|
|
--echo PASS
|