diff options
author | Alice Sherepa <alice.sherepa@gmail.com> | 2020-01-16 23:37:15 +0100 |
---|---|---|
committer | Alice Sherepa <alice.sherepa@gmail.com> | 2020-01-21 11:22:47 +0100 |
commit | 10a5e1eccb9cfe7b86436254c958b2b40a246b52 (patch) | |
tree | 1cac43226aa9017e28e599ecfef2c64cc30c8f3a /mysql-test/suite/binlog | |
parent | 8870f18e1df8774b76c30792f6c7bf04230f2a58 (diff) | |
download | mariadb-git-10a5e1eccb9cfe7b86436254c958b2b40a246b52.tar.gz |
MDEV-21360 save/restore debud_dbug instead of total reset at the end of the test
Diffstat (limited to 'mysql-test/suite/binlog')
-rw-r--r-- | mysql-test/suite/binlog/r/binlog_index.result | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/suite/binlog/r/binlog_index.result b/mysql-test/suite/binlog/r/binlog_index.result index bb5d9ff74f1..1f3428e6eef 100644 --- a/mysql-test/suite/binlog/r/binlog_index.result +++ b/mysql-test/suite/binlog/r/binlog_index.result @@ -5,6 +5,7 @@ call mtr.add_suppression('Turning logging off for the whole duration of the MySQ call mtr.add_suppression('Could not open .*'); call mtr.add_suppression('MYSQL_BIN_LOG::purge_logs failed to clean registers before purging logs.'); flush tables; +SET @saved_dbug = @@SESSION.debug_dbug; RESET MASTER; flush logs; flush logs; @@ -183,5 +184,5 @@ master-bin.000011 master-bin.000012 master-bin.000013 -SET SESSION debug_dbug=""; +SET @@SESSION.debug_dbug = @saved_dbug; End of tests |