summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authorTatiana A. Nurnberg <azundris@mysql.com>2009-03-11 23:32:53 +0100
committerTatiana A. Nurnberg <azundris@mysql.com>2009-03-11 23:32:53 +0100
commit59fbffa45cc804bde74d504129eb705cd80b3bba (patch)
tree07de7887085e3b95f72e3ed995042a594223f589 /mysql-test/t/variables.test
parentf79cb0de91a6b320966a7675dd6998c0bcf128e5 (diff)
downloadmariadb-git-59fbffa45cc804bde74d504129eb705cd80b3bba.tar.gz
Bug#40657: assertion with out of range variables and traditional sql_mode
normalize error-messages mysql-test/r/variables.result: show that warning uses underscore (sysvar-name), not hyphens (option-name) mysql-test/t/variables.test: show that warning uses underscore (sysvar-name), not hyphens (option-name) sql/set_var.cc: normalize error-messages
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index 95f4d6e97c5..43169b22b5e 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -1155,6 +1155,11 @@ SELECT @@global.expire_logs_days;
# cleanup
SET GLOBAL expire_logs_days = @old_eld;
+# show that warning uses underscore (sysvar-name), not hyphens (option-name)
+SET GLOBAL auto_increment_offset=-1;
+SET GLOBAL auto_increment_offset=0;
+
+
#
# Bug#41030 Wrong meta data (incorrect fieldlen)