summaryrefslogtreecommitdiff
path: root/mysql-test/r/variables.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/variables.result')
-rw-r--r--mysql-test/r/variables.result9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result
index a93e3a210ed..a42c0c5abcb 100644
--- a/mysql-test/r/variables.result
+++ b/mysql-test/r/variables.result
@@ -1793,4 +1793,13 @@ set session rand_seed1=DEFAULT;
ERROR 42000: Variable 'rand_seed1' doesn't have a default value
set autocommit = values(v);
ERROR 42S22: Unknown column 'v' in 'field list'
+set session sql_mode=ansi_quotes;
+select * from information_schema.session_variables where variable_name='sql_mode';
+VARIABLE_NAME VARIABLE_VALUE
+SQL_MODE ANSI_QUOTES
+show global status like 'foobar';
+Variable_name Value
+select * from information_schema.session_variables where variable_name='sql_mode';
+VARIABLE_NAME VARIABLE_VALUE
+SQL_MODE ANSI_QUOTES
End of 5.5 tests