diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2017-11-07 00:37:49 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2017-11-07 00:37:49 +0300 |
commit | d8d725101992d50b00edf149e7ccd7f720b850dc (patch) | |
tree | 5797a3c9af2d2db487ec77093608f89b7dabe62f /mysql-test/r/variables.result | |
parent | 835cbbcc7b797188a89671019f2b2844e1a14e0c (diff) | |
parent | ce66d5b2a53d76d286e8443807c4ebd7743cc354 (diff) | |
download | mariadb-git-d8d725101992d50b00edf149e7ccd7f720b850dc.tar.gz |
System Versioning pre0.12
Merge remote-tracking branch 'origin/archive/2017-10-17' into 10.3
Diffstat (limited to 'mysql-test/r/variables.result')
-rw-r--r-- | mysql-test/r/variables.result | 165 |
1 files changed, 0 insertions, 165 deletions
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result index dde58ed0ab2..a0683e400ef 100644 --- a/mysql-test/r/variables.result +++ b/mysql-test/r/variables.result @@ -1577,171 +1577,6 @@ t1 CREATE TABLE `t1` ( ) ENGINE=MyISAM DEFAULT CHARSET=latin1 DROP TABLE t1; End of 5.1 tests - -# -# Bug#34828: OF is taken as OFF and a value of 0 is set for variable SQL_notes. -# - -# Checking sql_notes... -SET @sql_notes_saved = @@sql_notes; - -SET @@sql_notes = ON; -SELECT @@sql_notes; -@@sql_notes -1 - -SET @@sql_notes = OF; -ERROR 42000: Variable 'sql_notes' can't be set to the value of 'OF' -SELECT @@sql_notes; -@@sql_notes -1 - -SET @@sql_notes = OFF; -SELECT @@sql_notes; -@@sql_notes -0 - -SET @@sql_notes = @sql_notes_saved; - -# Checking delay_key_write... -SET @delay_key_write_saved = @@delay_key_write; - -SET GLOBAL delay_key_write = ON; -SELECT @@delay_key_write; -@@delay_key_write -ON - -SET GLOBAL delay_key_write = OF; -ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'OF' -SELECT @@delay_key_write; -@@delay_key_write -ON - -SET GLOBAL delay_key_write = AL; -ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'AL' -SELECT @@delay_key_write; -@@delay_key_write -ON - -SET GLOBAL delay_key_write = OFF; -SELECT @@delay_key_write; -@@delay_key_write -OFF - -SET GLOBAL delay_key_write = ALL; -SELECT @@delay_key_write; -@@delay_key_write -ALL - -SET GLOBAL delay_key_write = @delay_key_write_saved; - -# Checking sql_safe_updates... -SET @sql_safe_updates_saved = @@sql_safe_updates; - -SET @@sql_safe_updates = ON; -SELECT @@sql_safe_updates; -@@sql_safe_updates -1 - -SET @@sql_safe_updates = OF; -ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'OF' -SELECT @@sql_safe_updates; -@@sql_safe_updates -1 - -SET @@sql_safe_updates = OFF; -SELECT @@sql_safe_updates; -@@sql_safe_updates -0 - -SET @@sql_safe_updates = @sql_safe_updates_saved; - -# Checking foreign_key_checks... -SET @foreign_key_checks_saved = @@foreign_key_checks; - -SET @@foreign_key_checks = ON; -SELECT @@foreign_key_checks; -@@foreign_key_checks -1 - -SET @@foreign_key_checks = OF; -ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of 'OF' -SELECT @@foreign_key_checks; -@@foreign_key_checks -1 - -SET @@foreign_key_checks = OFF; -SELECT @@foreign_key_checks; -@@foreign_key_checks -0 - -SET @@foreign_key_checks = @foreign_key_checks_saved; - -# Checking unique_checks... -SET @unique_checks_saved = @@unique_checks; - -SET @@unique_checks = ON; -SELECT @@unique_checks; -@@unique_checks -1 - -SET @@unique_checks = OF; -ERROR 42000: Variable 'unique_checks' can't be set to the value of 'OF' -SELECT @@unique_checks; -@@unique_checks -1 - -SET @@unique_checks = OFF; -SELECT @@unique_checks; -@@unique_checks -0 - -SET @@unique_checks = @unique_checks_saved; - -# Checking sql_buffer_result... -SET @sql_buffer_result_saved = @@sql_buffer_result; - -SET @@sql_buffer_result = ON; -SELECT @@sql_buffer_result; -@@sql_buffer_result -1 - -SET @@sql_buffer_result = OF; -ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of 'OF' -SELECT @@sql_buffer_result; -@@sql_buffer_result -1 - -SET @@sql_buffer_result = OFF; -SELECT @@sql_buffer_result; -@@sql_buffer_result -0 - -SET @@sql_buffer_result = @sql_buffer_result_saved; - -# Checking sql_quote_show_create... -SET @sql_quote_show_create_saved = @@sql_quote_show_create; - -SET @@sql_quote_show_create = ON; -SELECT @@sql_quote_show_create; -@@sql_quote_show_create -1 - -SET @@sql_quote_show_create = OF; -ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of 'OF' -SELECT @@sql_quote_show_create; -@@sql_quote_show_create -1 - -SET @@sql_quote_show_create = OFF; -SELECT @@sql_quote_show_create; -@@sql_quote_show_create -0 - -SET @@sql_quote_show_create = @sql_quote_show_create_saved; - -# End of Bug#34828. - # Make sure we can manipulate with autocommit in the # along with other variables. drop table if exists t1; |