diff options
author | jimw@mysql.com <> | 2006-04-26 11:34:45 -0700 |
---|---|---|
committer | jimw@mysql.com <> | 2006-04-26 11:34:45 -0700 |
commit | 74ca82c857f458038fb5eeb31d7e1a46335d7e58 (patch) | |
tree | 77ea99fc16af04d62e8c80f05dc6d16862d75c1c /mysql-test/t/variables.test | |
parent | d89054df4b973dfa6bfec9014a85c13477432f14 (diff) | |
parent | 4d392fb9f4a2cb50fb72393cb0f1512d515f05f5 (diff) | |
download | mariadb-git-74ca82c857f458038fb5eeb31d7e1a46335d7e58.tar.gz |
Merge mysql.com:/home/jimw/my/mysql-5.0-16195
into mysql.com:/home/jimw/my/mysql-5.0-clean
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r-- | mysql-test/t/variables.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test index 5b8db2f8786..c7227df10fe 100644 --- a/mysql-test/t/variables.test +++ b/mysql-test/t/variables.test @@ -480,4 +480,15 @@ set @@sql_big_selects = 1; show variables like 'sql_big_selects'; set @@sql_big_selects = @old_sql_big_selects; +# +# Bug #16195: SHOW VARIABLES doesn't report correctly sql_warnings and +# sql_notes values +# +set @@sql_notes = 0, @@sql_warnings = 0; +show variables like 'sql_notes'; +show variables like 'sql_warnings'; +set @@sql_notes = 1, @@sql_warnings = 1; +show variables like 'sql_notes'; +show variables like 'sql_warnings'; + --echo End of 5.0 tests |