4
# binlog_inject_error.inc
8
# Inject binlog write error when running the query, verifies that the
9
# query is ended with the proper error (ER_ERROR_ON_WRITE).
13
# let query= 'CREATE TABLE t1 (a INT)';
14
# source include/binlog_inject_error.inc;
17
SET GLOBAL debug='d,injecting_fault_writing';
19
--replace_regex /(errno: .*)/(errno: #)/
20
--error ER_ERROR_ON_WRITE