summaryrefslogtreecommitdiff
path: root/mysql-test/t/ctype_cp932_binlog_stm.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/ctype_cp932_binlog_stm.test')
-rw-r--r--mysql-test/t/ctype_cp932_binlog_stm.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/ctype_cp932_binlog_stm.test b/mysql-test/t/ctype_cp932_binlog_stm.test
index b1f34ec22d4..07eee7709d1 100644
--- a/mysql-test/t/ctype_cp932_binlog_stm.test
+++ b/mysql-test/t/ctype_cp932_binlog_stm.test
@@ -28,6 +28,16 @@ delimiter ;|
--echo End of 5.0 tests
+#
+# #28436: Incorrect position in SHOW BINLOG EVENTS causes server coredump
+# Note: 364 is a magic position (found experimentally, depends on
+# the log's contents) that caused the server crash.
+
+call mtr.add_suppression("Error in Log_event::read_log_event\\\(\\\): 'Found invalid");
+
+--error 1220
+SHOW BINLOG EVENTS FROM 504;
+
--echo Bug#44352 UPPER/LOWER function doesn't work correctly on cp932 and sjis environment.
CREATE TABLE t1 (a varchar(16)) character set cp932;
INSERT INTO t1 VALUES (0x8372835E),(0x8352835E);