mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
1743d68868
Signed-off-by: Sachin Setiya <sachinsetia1001@gmail.com>
36 lines
599 B
Text
36 lines
599 B
Text
#
|
|
# MW-328 Fix unnecessary/silent BF aborts
|
|
#
|
|
|
|
#
|
|
# Make sure an unrelated SELECT following a BF-aborted query never
|
|
# gets the deadlock error
|
|
#
|
|
|
|
--source include/galera_cluster.inc
|
|
--source include/have_innodb.inc
|
|
--source suite/galera/t/MW-328-header.inc
|
|
|
|
--connection node_2
|
|
--let $count = 100
|
|
|
|
SET SESSION wsrep_retry_autocommit = 0;
|
|
|
|
--disable_query_log
|
|
|
|
while ($count)
|
|
{
|
|
--error 0,1213
|
|
INSERT IGNORE INTO t2 SELECT f2 FROM t1;
|
|
|
|
--disable_result_log
|
|
--error 0
|
|
SELECT 1 FROM DUAL;
|
|
--enable_result_log
|
|
|
|
--dec $count
|
|
}
|
|
|
|
--enable_query_log
|
|
|
|
--source suite/galera/t/MW-328-footer.inc
|