summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-06-02 16:17:44 +0500
committerunknown <bar@mysql.com>2005-06-02 16:17:44 +0500
commit17678a7b885beb59fa808b7ace5cee4a0e21667d (patch)
treeba349e96ee75c58e59e1948f4216483c5713080c /mysql-test/t/variables.test
parentd7d3be6b16ebb63d84b39cf109153becf8f08786 (diff)
downloadmariadb-git-17678a7b885beb59fa808b7ace5cee4a0e21667d.tar.gz
item_func.cc:
set_var.cc: variables.result variables.test Bug #10904 Illegal mix of collations between a system variable and a constant Changing coercibility of system variables to SYSCONST, to be the same with USER(), DATABASE(), etc. sql/item_func.cc: Bug #10904 Illegal mix of collations between a system variable and a constant Changing coercibility of system variables to SYSCONST To be the same with USER(), DATABASE(), etc.
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index 50bcc1c038c..e45218a9ed7 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -115,6 +115,13 @@ set @@query_alloc_block_size=default, @@query_prealloc_size=default;
set transaction_alloc_block_size=default, @@transaction_prealloc_size=default;
show variables like '%alloc%';
+#
+# Bug #10904 Illegal mix of collations between
+# a system variable and a constant
+#
+SELECT @@version LIKE 'non-existent';
+SELECT @@version_compile_os LIKE 'non-existent';
+
# The following should give errors
--error 1231