| 1 |
--source include/not_group_replication_plugin.inc |
| 2 |
source include/master-slave.inc; |
| 3 |
create table t1 (a int); |
| 4 |
create table t2 (a int); |
| 5 |
disable_query_log; |
| 6 |
SET @query="INSERT INTO t2 SELECT * FROM t1 WHERE a REGEXP \"0\""; |
| 7 |
let $1 = 2000; |
| 8 |
while ($1) |
| 9 |
{ |
| 10 |
eval SET @query=concat(@query, " OR a REGEXP '$1'"); |
| 11 |
dec $1; |
| 12 |
} |
| 13 |
let $1=`select @query`; |
| 14 |
--error 0,ER_STACK_OVERRUN_NEED_MORE |
| 15 |
eval $1; |
| 16 |
enable_query_log; |
| 17 |
# I have seen the slave crash either now or at shutdown |
| 18 |
--source include/sync_slave_sql_with_master.inc |
| 19 |
connection master; |
| 20 |
drop table t1; |
| 21 |
drop table t2; |
| 22 |
--source include/sync_slave_sql_with_master.inc |
| 23 |
|
| 24 |
# End of 4.1 tests |
| 25 |
--source include/rpl_end.inc |