From a55fbb60b95adf83cc8f7b0fe7fd83b78a7a8384 Mon Sep 17 00:00:00 2001 From: "lars/lthalmann@mysql.com/dl145j.mysql.com" <> Date: Fri, 15 Sep 2006 03:15:06 +0200 Subject: [PATCH] Merge main->rpl --- mysql-test/r/variables.result | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result index 5526ca8634f..f759e78adbf 100644 --- a/mysql-test/r/variables.result +++ b/mysql-test/r/variables.result @@ -840,6 +840,12 @@ log_queries_not_using_indexes OFF select * from information_schema.session_variables where variable_name like 'log_queries_not_using_indexes'; VARIABLE_NAME VARIABLE_VALUE LOG_QUERIES_NOT_USING_INDEXES OFF +select @@""; +ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '""' at line 1 +select @@&; +ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '&' at line 1 +select @@@; +ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@' at line 1 End of 5.0 tests set global binlog_cache_size =@my_binlog_cache_size; set global connect_timeout =@my_connect_timeout;