diff options
| author | Alexander Nozdrin <alik@sun.com> | 2010-05-19 16:31:18 +0400 |
|---|---|---|
| committer | Alexander Nozdrin <alik@sun.com> | 2010-05-19 16:31:18 +0400 |
| commit | 5009ab856d89750b29b5a00c3a4db2d49d9f3c6b (patch) | |
| tree | 8a8042abe456dc85833dfa106ed5c609839b680e /mysql-test/t/variables_debug.test | |
| parent | f11008baa3ddde7a7dc770a94c86fbad05f4c8a2 (diff) | |
| download | mariadb-git-5009ab856d89750b29b5a00c3a4db2d49d9f3c6b.tar.gz | |
Backport test cases for Bug#46198 and Bug#38054
from 6.0 to trunk-bugfixing.
Diffstat (limited to 'mysql-test/t/variables_debug.test')
| -rw-r--r-- | mysql-test/t/variables_debug.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/variables_debug.test b/mysql-test/t/variables_debug.test index 7dcaf246803..dac85345136 100644 --- a/mysql-test/t/variables_debug.test +++ b/mysql-test/t/variables_debug.test @@ -10,3 +10,13 @@ set debug= '+P'; select @@debug; set debug= '-P'; select @@debug; + +# +# Bug#38054: "SET SESSION debug" modifies @@global.debug variable +# + +SELECT @@session.debug, @@global.debug; + +SET SESSION debug = ''; + +SELECT @@session.debug, @@global.debug; |
