1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-21360 debug_dbug pre-test value restoration issues

This commit is contained in:
Alice Sherepa
2019-12-23 21:48:59 +01:00
parent 800d1f3010
commit 451573fab1
177 changed files with 446 additions and 234 deletions

View File

@ -9,6 +9,7 @@ create table t1 (a int primary key) engine=innodb;
# Test that warnings produced during autocommit (after calling
# set_ok_status()) are still reported to the client.
set @saved_dbug = @@session.debug_dbug;
SET SESSION debug_dbug="+d,warn_during_ha_commit_trans";
INSERT INTO t1 VALUES (1);
# The warning will be shown automatically by mysqltest; there was a bug where
@ -17,3 +18,4 @@ INSERT INTO t1 VALUES (1);
SHOW WARNINGS;
drop table t1;
set debug_dbug= @saved_dbug;