mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Tests: revert unneded changes
This commit is contained in:
@ -1577,6 +1577,171 @@ t1 CREATE TABLE `t1` (
|
|||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
End of 5.1 tests
|
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
|
# Make sure we can manipulate with autocommit in the
|
||||||
# along with other variables.
|
# along with other variables.
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
##############################################################################
|
|
||||||
#
|
|
||||||
# List the test cases that are to be disabled temporarily.
|
|
||||||
#
|
|
||||||
# Separate the test case name and the comment with ':'.
|
|
||||||
#
|
|
||||||
# <testcasename> : BUG#<xxxx> <date disabled> <disabler> <comment>
|
|
||||||
#
|
|
||||||
# Do not use any TAB characters for whitespace.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
@ -5,15 +5,14 @@ d CHAR(255),
|
|||||||
id INT,
|
id INT,
|
||||||
PRIMARY KEY(id)) ENGINE=InnoDB;
|
PRIMARY KEY(id)) ENGINE=InnoDB;
|
||||||
create table t2 like t1;
|
create table t2 like t1;
|
||||||
create function getcrash(i INT)
|
create procedure setcrash(IN i INT)
|
||||||
returns VARCHAR(255)
|
|
||||||
begin
|
begin
|
||||||
CASE i
|
CASE i
|
||||||
WHEN 1 THEN RETURN "crash_commit_after_prepare";
|
WHEN 1 THEN SET SESSION debug_dbug="d,crash_commit_after_prepare";
|
||||||
WHEN 2 THEN RETURN "crash_commit_after_log";
|
WHEN 2 THEN SET SESSION debug_dbug="d,crash_commit_after_log";
|
||||||
WHEN 3 THEN RETURN "crash_commit_before_unlog";
|
WHEN 3 THEN SET SESSION debug_dbug="d,crash_commit_before_unlog";
|
||||||
WHEN 4 THEN RETURN "crash_commit_after";
|
WHEN 4 THEN SET SESSION debug_dbug="d,crash_commit_after";
|
||||||
WHEN 5 THEN RETURN "crash_commit_before";
|
WHEN 5 THEN SET SESSION debug_dbug="d,crash_commit_before";
|
||||||
ELSE BEGIN END;
|
ELSE BEGIN END;
|
||||||
END CASE;
|
END CASE;
|
||||||
end //
|
end //
|
||||||
@ -32,12 +31,9 @@ SET binlog_format= mixed;
|
|||||||
RESET MASTER;
|
RESET MASTER;
|
||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
insert into t1 select * from t2;
|
insert into t1 select * from t2;
|
||||||
SET @crash= getcrash(5);
|
call setcrash(5);
|
||||||
SET SESSION debug_dbug=concat("d,", @crash);
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
Got one of the listed errors
|
Got one of the listed errors
|
||||||
CRASH_POINT
|
|
||||||
crash_commit_before
|
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
a b c d id
|
a b c d id
|
||||||
SHOW BINLOG EVENTS LIMIT 4,1;
|
SHOW BINLOG EVENTS LIMIT 4,1;
|
||||||
@ -47,12 +43,9 @@ SET binlog_format= mixed;
|
|||||||
RESET MASTER;
|
RESET MASTER;
|
||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
insert into t1 select * from t2;
|
insert into t1 select * from t2;
|
||||||
SET @crash= getcrash(4);
|
call setcrash(4);
|
||||||
SET SESSION debug_dbug=concat("d,", @crash);
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
Got one of the listed errors
|
Got one of the listed errors
|
||||||
CRASH_POINT
|
|
||||||
crash_commit_after
|
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
a b c d id
|
a b c d id
|
||||||
a b c d 1
|
a b c d 1
|
||||||
@ -73,12 +66,9 @@ SET binlog_format= mixed;
|
|||||||
RESET MASTER;
|
RESET MASTER;
|
||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
insert into t1 select * from t2;
|
insert into t1 select * from t2;
|
||||||
SET @crash= getcrash(3);
|
call setcrash(3);
|
||||||
SET SESSION debug_dbug=concat("d,", @crash);
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
Got one of the listed errors
|
Got one of the listed errors
|
||||||
CRASH_POINT
|
|
||||||
crash_commit_before_unlog
|
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
a b c d id
|
a b c d id
|
||||||
a b c d 1
|
a b c d 1
|
||||||
@ -99,12 +89,9 @@ SET binlog_format= mixed;
|
|||||||
RESET MASTER;
|
RESET MASTER;
|
||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
insert into t1 select * from t2;
|
insert into t1 select * from t2;
|
||||||
SET @crash= getcrash(2);
|
call setcrash(2);
|
||||||
SET SESSION debug_dbug=concat("d,", @crash);
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
Got one of the listed errors
|
Got one of the listed errors
|
||||||
CRASH_POINT
|
|
||||||
crash_commit_after_log
|
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
a b c d id
|
a b c d id
|
||||||
a b c d 1
|
a b c d 1
|
||||||
@ -125,12 +112,9 @@ SET binlog_format= mixed;
|
|||||||
RESET MASTER;
|
RESET MASTER;
|
||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
insert into t1 select * from t2;
|
insert into t1 select * from t2;
|
||||||
SET @crash= getcrash(1);
|
call setcrash(1);
|
||||||
SET SESSION debug_dbug=concat("d,", @crash);
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
Got one of the listed errors
|
Got one of the listed errors
|
||||||
CRASH_POINT
|
|
||||||
crash_commit_after_prepare
|
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
a b c d id
|
a b c d id
|
||||||
SHOW BINLOG EVENTS LIMIT 4,1;
|
SHOW BINLOG EVENTS LIMIT 4,1;
|
||||||
@ -138,4 +122,4 @@ Log_name Pos Event_type Server_id End_log_pos Info
|
|||||||
delete from t1;
|
delete from t1;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
DROP TABLE t2;
|
DROP TABLE t2;
|
||||||
DROP FUNCTION getcrash;
|
DROP PROCEDURE setcrash;
|
||||||
|
@ -17,15 +17,14 @@ CREATE TABLE t1(a CHAR(255),
|
|||||||
PRIMARY KEY(id)) ENGINE=InnoDB;
|
PRIMARY KEY(id)) ENGINE=InnoDB;
|
||||||
create table t2 like t1;
|
create table t2 like t1;
|
||||||
delimiter //;
|
delimiter //;
|
||||||
create function getcrash(i INT)
|
create procedure setcrash(IN i INT)
|
||||||
returns VARCHAR(255)
|
|
||||||
begin
|
begin
|
||||||
CASE i
|
CASE i
|
||||||
WHEN 1 THEN RETURN "crash_commit_after_prepare";
|
WHEN 1 THEN SET SESSION debug_dbug="d,crash_commit_after_prepare";
|
||||||
WHEN 2 THEN RETURN "crash_commit_after_log";
|
WHEN 2 THEN SET SESSION debug_dbug="d,crash_commit_after_log";
|
||||||
WHEN 3 THEN RETURN "crash_commit_before_unlog";
|
WHEN 3 THEN SET SESSION debug_dbug="d,crash_commit_before_unlog";
|
||||||
WHEN 4 THEN RETURN "crash_commit_after";
|
WHEN 4 THEN SET SESSION debug_dbug="d,crash_commit_after";
|
||||||
WHEN 5 THEN RETURN "crash_commit_before";
|
WHEN 5 THEN SET SESSION debug_dbug="d,crash_commit_before";
|
||||||
ELSE BEGIN END;
|
ELSE BEGIN END;
|
||||||
END CASE;
|
END CASE;
|
||||||
end //
|
end //
|
||||||
@ -54,8 +53,8 @@ while ($numtests)
|
|||||||
# Write file to make mysql-test-run.pl expect crash
|
# Write file to make mysql-test-run.pl expect crash
|
||||||
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||||
|
|
||||||
eval SET @crash= getcrash($numtests);
|
eval call setcrash($numtests);
|
||||||
SET SESSION debug_dbug=concat("d,", @crash);
|
|
||||||
# Run the crashing query
|
# Run the crashing query
|
||||||
--error 2006,2013
|
--error 2006,2013
|
||||||
COMMIT;
|
COMMIT;
|
||||||
@ -63,10 +62,6 @@ while ($numtests)
|
|||||||
# Poll the server waiting for it to be back online again.
|
# Poll the server waiting for it to be back online again.
|
||||||
--source include/wait_until_connected_again.inc
|
--source include/wait_until_connected_again.inc
|
||||||
|
|
||||||
--disable_query_log
|
|
||||||
eval SET @crash= getcrash($numtests);
|
|
||||||
SELECT @crash as CRASH_POINT;
|
|
||||||
--enable_query_log
|
|
||||||
# table and binlog should be in sync.
|
# table and binlog should be in sync.
|
||||||
SELECT * FROM t1 ORDER BY id;
|
SELECT * FROM t1 ORDER BY id;
|
||||||
--replace_column 2 # 5 #
|
--replace_column 2 # 5 #
|
||||||
@ -80,4 +75,4 @@ while ($numtests)
|
|||||||
# final cleanup
|
# final cleanup
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
DROP TABLE t2;
|
DROP TABLE t2;
|
||||||
DROP FUNCTION getcrash;
|
DROP PROCEDURE setcrash;
|
||||||
|
@ -37,8 +37,8 @@ SET @@global.delay_key_write = FALSE0;
|
|||||||
ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'FALSE0'
|
ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'FALSE0'
|
||||||
SET @@global.delay_key_write = ONN;
|
SET @@global.delay_key_write = ONN;
|
||||||
ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'ONN'
|
ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'ONN'
|
||||||
SET @@global.delay_key_write = OFFF;
|
SET @@global.delay_key_write = OF;
|
||||||
ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'OF'
|
||||||
SET @@global.delay_key_write = ' ';
|
SET @@global.delay_key_write = ' ';
|
||||||
ERROR 42000: Variable 'delay_key_write' can't be set to the value of ' '
|
ERROR 42000: Variable 'delay_key_write' can't be set to the value of ' '
|
||||||
SET @@global.delay_key_write = "";
|
SET @@global.delay_key_write = "";
|
||||||
|
@ -43,8 +43,8 @@ SET @@session.foreign_key_checks = TR
|
|||||||
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.foreign_key_checks = <20>N;
|
SET @@session.foreign_key_checks = <20>N;
|
||||||
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of '<27>N'
|
||||||
SET @@session.foreign_key_checks = OFFF;
|
SET @@session.foreign_key_checks = OF;
|
||||||
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of 'OF'
|
||||||
SET @@session.foreign_key_checks = <20>FF;
|
SET @@session.foreign_key_checks = <20>FF;
|
||||||
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of '<27>FF'
|
||||||
SET @@session.foreign_key_checks = '<27>';
|
SET @@session.foreign_key_checks = '<27>';
|
||||||
|
@ -66,7 +66,7 @@ SET @@session.innodb_table_locks = TR
|
|||||||
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.innodb_table_locks = <20>N;
|
SET @@session.innodb_table_locks = <20>N;
|
||||||
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of '<27>N'
|
||||||
SET @@session.innodb_table_locks = OFF;
|
SET @@session.innodb_table_locks = OF;
|
||||||
SELECT @@session.innodb_table_locks;
|
SELECT @@session.innodb_table_locks;
|
||||||
@@session.innodb_table_locks
|
@@session.innodb_table_locks
|
||||||
0
|
0
|
||||||
@ -84,7 +84,7 @@ SET @@global.innodb_table_locks = TR
|
|||||||
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of 'TR<54>E'
|
||||||
SET @@global.innodb_table_locks = QN;
|
SET @@global.innodb_table_locks = QN;
|
||||||
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of 'QN'
|
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of 'QN'
|
||||||
SET @@global.innodb_table_locks = OFF;
|
SET @@global.innodb_table_locks = OF;
|
||||||
SELECT @@global.innodb_table_locks;
|
SELECT @@global.innodb_table_locks;
|
||||||
@@global.innodb_table_locks
|
@@global.innodb_table_locks
|
||||||
0
|
0
|
||||||
|
@ -101,8 +101,8 @@ SET @@session.keep_files_on_create = ONN;
|
|||||||
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'ONN'
|
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'ONN'
|
||||||
SET @@session.keep_files_on_create = ONF;
|
SET @@session.keep_files_on_create = ONF;
|
||||||
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'ONF'
|
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'ONF'
|
||||||
SET @@session.keep_files_on_create = OFFF;
|
SET @@session.keep_files_on_create = OF;
|
||||||
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'OF'
|
||||||
SET @@session.keep_files_on_create = 'OFN';
|
SET @@session.keep_files_on_create = 'OFN';
|
||||||
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'OFN'
|
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'OFN'
|
||||||
SET @@session.keep_files_on_create = -2;
|
SET @@session.keep_files_on_create = -2;
|
||||||
|
@ -50,8 +50,8 @@ SET @@global.log_bin_trust_function_creators = 'ONN';
|
|||||||
ERROR 42000: Variable 'log_bin_trust_function_creators' can't be set to the value of 'ONN'
|
ERROR 42000: Variable 'log_bin_trust_function_creators' can't be set to the value of 'ONN'
|
||||||
SET @@global.log_bin_trust_function_creators = "OFFF";
|
SET @@global.log_bin_trust_function_creators = "OFFF";
|
||||||
ERROR 42000: Variable 'log_bin_trust_function_creators' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'log_bin_trust_function_creators' can't be set to the value of 'OFFF'
|
||||||
SET @@global.log_bin_trust_function_creators = OFFF;
|
SET @@global.log_bin_trust_function_creators = OF;
|
||||||
ERROR 42000: Variable 'log_bin_trust_function_creators' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'log_bin_trust_function_creators' can't be set to the value of 'OF'
|
||||||
SET @@global.log_bin_trust_function_creators = TTRUE;
|
SET @@global.log_bin_trust_function_creators = TTRUE;
|
||||||
ERROR 42000: Variable 'log_bin_trust_function_creators' can't be set to the value of 'TTRUE'
|
ERROR 42000: Variable 'log_bin_trust_function_creators' can't be set to the value of 'TTRUE'
|
||||||
SET @@global.log_bin_trust_function_creators = FELSE;
|
SET @@global.log_bin_trust_function_creators = FELSE;
|
||||||
|
@ -101,8 +101,8 @@ SET @@session.low_priority_updates = ONN;
|
|||||||
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'ONN'
|
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'ONN'
|
||||||
SET @@session.low_priority_updates = ONF;
|
SET @@session.low_priority_updates = ONF;
|
||||||
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'ONF'
|
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'ONF'
|
||||||
SET @@session.low_priority_updates = OFFF;
|
SET @@session.low_priority_updates = OF;
|
||||||
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'OF'
|
||||||
SET @@session.low_priority_updates = 'OFN';
|
SET @@session.low_priority_updates = 'OFN';
|
||||||
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'OFN'
|
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'OFN'
|
||||||
SET @@session.low_priority_updates = -2;
|
SET @@session.low_priority_updates = -2;
|
||||||
|
@ -97,8 +97,8 @@ SET @@session.old_passwords = ONN;
|
|||||||
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'ONN'
|
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'ONN'
|
||||||
SET @@session.old_passwords = ONF;
|
SET @@session.old_passwords = ONF;
|
||||||
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'ONF'
|
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'ONF'
|
||||||
SET @@session.old_passwords = OFFF;
|
SET @@session.old_passwords = OF;
|
||||||
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'OF'
|
||||||
SET @@session.old_passwords = 'OFN';
|
SET @@session.old_passwords = 'OFN';
|
||||||
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'OFN'
|
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'OFN'
|
||||||
SET @@session.old_passwords = -2;
|
SET @@session.old_passwords = -2;
|
||||||
|
@ -104,7 +104,7 @@ SET @@session.optimizer_prune_level = ONF;
|
|||||||
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
||||||
SET @@session.optimizer_prune_level = ON;
|
SET @@session.optimizer_prune_level = ON;
|
||||||
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
||||||
SET @@session.optimizer_prune_level = OFFF;
|
SET @@session.optimizer_prune_level = OF;
|
||||||
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
||||||
SET @@session.optimizer_prune_level = 'OFN';
|
SET @@session.optimizer_prune_level = 'OFN';
|
||||||
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
|
||||||
|
@ -58,8 +58,8 @@ SET @@session.pseudo_slave_mode = TR
|
|||||||
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.pseudo_slave_mode = <20>N;
|
SET @@session.pseudo_slave_mode = <20>N;
|
||||||
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of '<27>N'
|
||||||
SET @@session.pseudo_slave_mode = OFFF;
|
SET @@session.pseudo_slave_mode = OF;
|
||||||
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of 'OF'
|
||||||
SET @@session.pseudo_slave_mode = <20>FF;
|
SET @@session.pseudo_slave_mode = <20>FF;
|
||||||
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of '<27>FF'
|
||||||
SET @@session.pseudo_slave_mode = '<27>';
|
SET @@session.pseudo_slave_mode = '<27>';
|
||||||
|
@ -66,8 +66,8 @@ SET @@session.query_cache_wlock_invalidate = TR
|
|||||||
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.query_cache_wlock_invalidate = <20>N;
|
SET @@session.query_cache_wlock_invalidate = <20>N;
|
||||||
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '<27>N'
|
||||||
SET @@session.query_cache_wlock_invalidate = OFFF;
|
SET @@session.query_cache_wlock_invalidate = OF;
|
||||||
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'OF'
|
||||||
SET @@session.query_cache_wlock_invalidate = <20>FF;
|
SET @@session.query_cache_wlock_invalidate = <20>FF;
|
||||||
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '<27>FF'
|
||||||
SET @@global.query_cache_wlock_invalidate = -1;
|
SET @@global.query_cache_wlock_invalidate = -1;
|
||||||
@ -82,8 +82,8 @@ SET @@global.query_cache_wlock_invalidate = TR
|
|||||||
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'TR<54>E'
|
||||||
SET @@global.query_cache_wlock_invalidate = <20>N;
|
SET @@global.query_cache_wlock_invalidate = <20>N;
|
||||||
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '<27>N'
|
||||||
SET @@global.query_cache_wlock_invalidate = OFFF;
|
SET @@global.query_cache_wlock_invalidate = OF;
|
||||||
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'OF'
|
||||||
SET @@global.query_cache_wlock_invalidate = <20>FF;
|
SET @@global.query_cache_wlock_invalidate = <20>FF;
|
||||||
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '<27>FF'
|
||||||
'#-------------------FN_DYNVARS_135_05----------------------------#'
|
'#-------------------FN_DYNVARS_135_05----------------------------#'
|
||||||
|
@ -43,8 +43,8 @@ SET @@session.sql_big_selects = TR
|
|||||||
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.sql_big_selects = <20>N;
|
SET @@session.sql_big_selects = <20>N;
|
||||||
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of '<27>N'
|
||||||
SET @@session.sql_big_selects = OFFF;
|
SET @@session.sql_big_selects = OF;
|
||||||
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'OF'
|
||||||
SET @@session.sql_big_selects = <20>FF;
|
SET @@session.sql_big_selects = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of '<27>FF'
|
||||||
SET @@session.sql_big_selects = '<27>';
|
SET @@session.sql_big_selects = '<27>';
|
||||||
|
@ -48,7 +48,7 @@ SET @@session.sql_big_tables = TR
|
|||||||
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.sql_big_tables = <20>N;
|
SET @@session.sql_big_tables = <20>N;
|
||||||
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of '<27>N'
|
||||||
SET @@session.sql_big_tables = OFFF;
|
SET @@session.sql_big_tables = OF;
|
||||||
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of 'OF'
|
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of 'OF'
|
||||||
SET @@session.sql_big_tables = <20>FF;
|
SET @@session.sql_big_tables = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of '<27>FF'
|
||||||
|
@ -48,8 +48,8 @@ SET @@session.sql_buffer_result = TR
|
|||||||
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.sql_buffer_result = <20>N;
|
SET @@session.sql_buffer_result = <20>N;
|
||||||
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of '<27>N'
|
||||||
SET @@session.sql_buffer_result = OFFF;
|
SET @@session.sql_buffer_result = OF;
|
||||||
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of 'OF'
|
||||||
SET @@session.sql_buffer_result = <20>FF;
|
SET @@session.sql_buffer_result = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of '<27>FF'
|
||||||
SET @@session.sql_buffer_result = '<27>';
|
SET @@session.sql_buffer_result = '<27>';
|
||||||
|
@ -48,8 +48,8 @@ SET @@session.sql_log_bin = TR
|
|||||||
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.sql_log_bin = <20>N;
|
SET @@session.sql_log_bin = <20>N;
|
||||||
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of '<27>N'
|
||||||
SET @@session.sql_log_bin = OFFF;
|
SET @@session.sql_log_bin = OF;
|
||||||
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of 'OF'
|
||||||
SET @@session.sql_log_bin = <20>FF;
|
SET @@session.sql_log_bin = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of '<27>FF'
|
||||||
SET @@session.sql_log_bin = '<27>';
|
SET @@session.sql_log_bin = '<27>';
|
||||||
|
@ -48,8 +48,8 @@ SET @@session.sql_log_off = TR
|
|||||||
ERROR 42000: Variable 'sql_log_off' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_log_off' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.sql_log_off = <20>N;
|
SET @@session.sql_log_off = <20>N;
|
||||||
ERROR 42000: Variable 'sql_log_off' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_log_off' can't be set to the value of '<27>N'
|
||||||
SET @@session.sql_log_off = OFFF;
|
SET @@session.sql_log_off = OF;
|
||||||
ERROR 42000: Variable 'sql_log_off' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'sql_log_off' can't be set to the value of 'OF'
|
||||||
SET @@session.sql_log_off = <20>FF;
|
SET @@session.sql_log_off = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_log_off' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_log_off' can't be set to the value of '<27>FF'
|
||||||
SET @@session.sql_log_off = '<27>';
|
SET @@session.sql_log_off = '<27>';
|
||||||
|
@ -63,7 +63,7 @@ SET @@session.sql_low_priority_updates = TR
|
|||||||
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.sql_low_priority_updates = <20>N;
|
SET @@session.sql_low_priority_updates = <20>N;
|
||||||
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '<27>N'
|
||||||
SET @@session.sql_low_priority_updates = OFFF;
|
SET @@session.sql_low_priority_updates = OF;
|
||||||
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'OF'
|
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'OF'
|
||||||
SET @@session.sql_low_priority_updates = <20>FF;
|
SET @@session.sql_low_priority_updates = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '<27>FF'
|
||||||
@ -79,7 +79,7 @@ SET @@global.sql_low_priority_updates = TR
|
|||||||
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'TR<54>E'
|
||||||
SET @@global.sql_low_priority_updates = <20>N;
|
SET @@global.sql_low_priority_updates = <20>N;
|
||||||
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '<27>N'
|
||||||
SET @@global.sql_low_priority_updates = OFFF;
|
SET @@global.sql_low_priority_updates = OF;
|
||||||
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'OF'
|
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'OF'
|
||||||
SET @@global.sql_low_priority_updates = <20>FF;
|
SET @@global.sql_low_priority_updates = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '<27>FF'
|
||||||
|
@ -48,8 +48,8 @@ SET @@session.sql_notes = TR
|
|||||||
ERROR 42000: Variable 'sql_notes' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_notes' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.sql_notes = <20>N;
|
SET @@session.sql_notes = <20>N;
|
||||||
ERROR 42000: Variable 'sql_notes' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_notes' can't be set to the value of '<27>N'
|
||||||
SET @@session.sql_notes = OFFF;
|
SET @@session.sql_notes = OF;
|
||||||
ERROR 42000: Variable 'sql_notes' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'sql_notes' can't be set to the value of 'OF'
|
||||||
SET @@session.sql_notes = <20>FF;
|
SET @@session.sql_notes = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_notes' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_notes' can't be set to the value of '<27>FF'
|
||||||
SET @@session.sql_notes = '<27>';
|
SET @@session.sql_notes = '<27>';
|
||||||
|
@ -48,8 +48,8 @@ SET @@session.sql_quote_show_create = TR
|
|||||||
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.sql_quote_show_create = <20>N;
|
SET @@session.sql_quote_show_create = <20>N;
|
||||||
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of '<27>N'
|
||||||
SET @@session.sql_quote_show_create = OFFF;
|
SET @@session.sql_quote_show_create = OF;
|
||||||
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of 'OF'
|
||||||
SET @@session.sql_quote_show_create = <20>FF;
|
SET @@session.sql_quote_show_create = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of '<27>FF'
|
||||||
SET @@session.sql_quote_show_create = '<27>';
|
SET @@session.sql_quote_show_create = '<27>';
|
||||||
|
@ -48,8 +48,8 @@ SET @@session.sql_safe_updates = TR
|
|||||||
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.sql_safe_updates = <20>N;
|
SET @@session.sql_safe_updates = <20>N;
|
||||||
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of '<27>N'
|
||||||
SET @@session.sql_safe_updates = OFFF;
|
SET @@session.sql_safe_updates = OF;
|
||||||
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'OF'
|
||||||
SET @@session.sql_safe_updates = <20>FF;
|
SET @@session.sql_safe_updates = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of '<27>FF'
|
||||||
SET @@session.sql_safe_updates = '<27>';
|
SET @@session.sql_safe_updates = '<27>';
|
||||||
|
@ -46,8 +46,8 @@ SET @@session.sql_warnings = TR
|
|||||||
ERROR 42000: Variable 'sql_warnings' can't be set to the value of 'TR<54>E'
|
ERROR 42000: Variable 'sql_warnings' can't be set to the value of 'TR<54>E'
|
||||||
SET @@session.sql_warnings = <20>N;
|
SET @@session.sql_warnings = <20>N;
|
||||||
ERROR 42000: Variable 'sql_warnings' can't be set to the value of '<27>N'
|
ERROR 42000: Variable 'sql_warnings' can't be set to the value of '<27>N'
|
||||||
SET @@session.sql_warnings = OFFF;
|
SET @@session.sql_warnings = OF;
|
||||||
ERROR 42000: Variable 'sql_warnings' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'sql_warnings' can't be set to the value of 'OF'
|
||||||
SET @@session.sql_warnings = <20>FF;
|
SET @@session.sql_warnings = <20>FF;
|
||||||
ERROR 42000: Variable 'sql_warnings' can't be set to the value of '<27>FF'
|
ERROR 42000: Variable 'sql_warnings' can't be set to the value of '<27>FF'
|
||||||
SET @@session.sql_warnings = '<27>';
|
SET @@session.sql_warnings = '<27>';
|
||||||
|
@ -102,8 +102,8 @@ SET @@session.tx_read_only = ONN;
|
|||||||
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'ONN'
|
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'ONN'
|
||||||
SET @@session.tx_read_only = ONF;
|
SET @@session.tx_read_only = ONF;
|
||||||
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'ONF'
|
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'ONF'
|
||||||
SET @@session.tx_read_only = OFFF;
|
SET @@session.tx_read_only = OF;
|
||||||
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'OFFF'
|
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'OF'
|
||||||
SET @@session.tx_read_only = 'OFN';
|
SET @@session.tx_read_only = 'OFN';
|
||||||
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'OFN'
|
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'OFN'
|
||||||
SET @@session.tx_read_only = -2;
|
SET @@session.tx_read_only = -2;
|
||||||
|
@ -90,7 +90,7 @@ SET @@global.delay_key_write = FALSE0;
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@global.delay_key_write = ONN;
|
SET @@global.delay_key_write = ONN;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@global.delay_key_write = OFFF;
|
SET @@global.delay_key_write = OF;
|
||||||
|
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@global.delay_key_write = ' ';
|
SET @@global.delay_key_write = ' ';
|
||||||
|
@ -94,7 +94,7 @@ SET @@session.foreign_key_checks = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.foreign_key_checks = <20>N;
|
SET @@session.foreign_key_checks = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.foreign_key_checks = OFFF;
|
SET @@session.foreign_key_checks = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.foreign_key_checks = <20>FF;
|
SET @@session.foreign_key_checks = <20>FF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -119,7 +119,7 @@ SET @@session.innodb_table_locks = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.innodb_table_locks = <20>N;
|
SET @@session.innodb_table_locks = <20>N;
|
||||||
|
|
||||||
SET @@session.innodb_table_locks = OFF;
|
SET @@session.innodb_table_locks = OF;
|
||||||
SELECT @@session.innodb_table_locks;
|
SELECT @@session.innodb_table_locks;
|
||||||
|
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
@ -141,7 +141,7 @@ SET @@global.innodb_table_locks = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@global.innodb_table_locks = QN;
|
SET @@global.innodb_table_locks = QN;
|
||||||
|
|
||||||
SET @@global.innodb_table_locks = OFF;
|
SET @@global.innodb_table_locks = OF;
|
||||||
SELECT @@global.innodb_table_locks;
|
SELECT @@global.innodb_table_locks;
|
||||||
|
|
||||||
--Error ER_WRONG_TYPE_FOR_VAR
|
--Error ER_WRONG_TYPE_FOR_VAR
|
||||||
|
@ -132,7 +132,7 @@ SET @@session.keep_files_on_create = ONN;
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.keep_files_on_create = ONF;
|
SET @@session.keep_files_on_create = ONF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.keep_files_on_create = OFFF;
|
SET @@session.keep_files_on_create = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.keep_files_on_create = 'OFN';
|
SET @@session.keep_files_on_create = 'OFN';
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -96,7 +96,7 @@ SET @@global.log_bin_trust_function_creators = 'ONN';
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@global.log_bin_trust_function_creators = "OFFF";
|
SET @@global.log_bin_trust_function_creators = "OFFF";
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@global.log_bin_trust_function_creators = OFFF;
|
SET @@global.log_bin_trust_function_creators = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@global.log_bin_trust_function_creators = TTRUE;
|
SET @@global.log_bin_trust_function_creators = TTRUE;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -132,7 +132,7 @@ SET @@session.low_priority_updates = ONN;
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.low_priority_updates = ONF;
|
SET @@session.low_priority_updates = ONF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.low_priority_updates = OFFF;
|
SET @@session.low_priority_updates = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.low_priority_updates = 'OFN';
|
SET @@session.low_priority_updates = 'OFN';
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -131,7 +131,7 @@ SET @@session.old_passwords = ONN;
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.old_passwords = ONF;
|
SET @@session.old_passwords = ONF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.old_passwords = OFFF;
|
SET @@session.old_passwords = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.old_passwords = 'OFN';
|
SET @@session.old_passwords = 'OFN';
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -140,7 +140,7 @@ SET @@session.optimizer_prune_level = ONF;
|
|||||||
--Error ER_WRONG_TYPE_FOR_VAR
|
--Error ER_WRONG_TYPE_FOR_VAR
|
||||||
SET @@session.optimizer_prune_level = ON;
|
SET @@session.optimizer_prune_level = ON;
|
||||||
--Error ER_WRONG_TYPE_FOR_VAR
|
--Error ER_WRONG_TYPE_FOR_VAR
|
||||||
SET @@session.optimizer_prune_level = OFFF;
|
SET @@session.optimizer_prune_level = OF;
|
||||||
|
|
||||||
--Error ER_WRONG_TYPE_FOR_VAR
|
--Error ER_WRONG_TYPE_FOR_VAR
|
||||||
SET @@session.optimizer_prune_level = 'OFN';
|
SET @@session.optimizer_prune_level = 'OFN';
|
||||||
|
@ -97,7 +97,7 @@ SET @@session.pseudo_slave_mode = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.pseudo_slave_mode = <20>N;
|
SET @@session.pseudo_slave_mode = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.pseudo_slave_mode = OFFF;
|
SET @@session.pseudo_slave_mode = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.pseudo_slave_mode = <20>FF;
|
SET @@session.pseudo_slave_mode = <20>FF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -116,7 +116,7 @@ SET @@session.query_cache_wlock_invalidate = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.query_cache_wlock_invalidate = <20>N;
|
SET @@session.query_cache_wlock_invalidate = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.query_cache_wlock_invalidate = OFFF;
|
SET @@session.query_cache_wlock_invalidate = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.query_cache_wlock_invalidate = <20>FF;
|
SET @@session.query_cache_wlock_invalidate = <20>FF;
|
||||||
|
|
||||||
@ -135,7 +135,7 @@ SET @@global.query_cache_wlock_invalidate = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@global.query_cache_wlock_invalidate = <20>N;
|
SET @@global.query_cache_wlock_invalidate = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@global.query_cache_wlock_invalidate = OFFF;
|
SET @@global.query_cache_wlock_invalidate = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@global.query_cache_wlock_invalidate = <20>FF;
|
SET @@global.query_cache_wlock_invalidate = <20>FF;
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ SET @@session.sql_big_selects = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_big_selects = <20>N;
|
SET @@session.sql_big_selects = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_big_selects = OFFF;
|
SET @@session.sql_big_selects = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_big_selects = <20>FF;
|
SET @@session.sql_big_selects = <20>FF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -100,7 +100,7 @@ SET @@session.sql_buffer_result = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_buffer_result = <20>N;
|
SET @@session.sql_buffer_result = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_buffer_result = OFFF;
|
SET @@session.sql_buffer_result = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_buffer_result = <20>FF;
|
SET @@session.sql_buffer_result = <20>FF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -98,7 +98,7 @@ SET @@session.sql_log_bin = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_log_bin = <20>N;
|
SET @@session.sql_log_bin = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_log_bin = OFFF;
|
SET @@session.sql_log_bin = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_log_bin = <20>FF;
|
SET @@session.sql_log_bin = <20>FF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -97,7 +97,7 @@ SET @@session.sql_log_off = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_log_off = <20>N;
|
SET @@session.sql_log_off = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_log_off = OFFF;
|
SET @@session.sql_log_off = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_log_off = <20>FF;
|
SET @@session.sql_log_off = <20>FF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -99,7 +99,7 @@ SET @@session.sql_notes = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_notes = <20>N;
|
SET @@session.sql_notes = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_notes = OFFF;
|
SET @@session.sql_notes = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_notes = <20>FF;
|
SET @@session.sql_notes = <20>FF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -98,7 +98,7 @@ SET @@session.sql_quote_show_create = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_quote_show_create = <20>N;
|
SET @@session.sql_quote_show_create = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_quote_show_create = OFFF;
|
SET @@session.sql_quote_show_create = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_quote_show_create = <20>FF;
|
SET @@session.sql_quote_show_create = <20>FF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -97,7 +97,7 @@ SET @@session.sql_safe_updates = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_safe_updates = <20>N;
|
SET @@session.sql_safe_updates = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_safe_updates = OFFF;
|
SET @@session.sql_safe_updates = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_safe_updates = <20>FF;
|
SET @@session.sql_safe_updates = <20>FF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -98,7 +98,7 @@ SET @@session.sql_warnings = TR
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_warnings = <20>N;
|
SET @@session.sql_warnings = <20>N;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_warnings = OFFF;
|
SET @@session.sql_warnings = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.sql_warnings = <20>FF;
|
SET @@session.sql_warnings = <20>FF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -116,7 +116,7 @@ SET @@session.tx_read_only = ONN;
|
|||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.tx_read_only = ONF;
|
SET @@session.tx_read_only = ONF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.tx_read_only = OFFF;
|
SET @@session.tx_read_only = OF;
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
SET @@session.tx_read_only = 'OFN';
|
SET @@session.tx_read_only = 'OFN';
|
||||||
--Error ER_WRONG_VALUE_FOR_VAR
|
--Error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
@ -1295,6 +1295,166 @@ DROP TABLE t1;
|
|||||||
|
|
||||||
--echo End of 5.1 tests
|
--echo End of 5.1 tests
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--echo #
|
||||||
|
--echo # Bug#34828: OF is taken as OFF and a value of 0 is set for variable SQL_notes.
|
||||||
|
--echo #
|
||||||
|
--echo
|
||||||
|
|
||||||
|
--echo # Checking sql_notes...
|
||||||
|
SET @sql_notes_saved = @@sql_notes;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_notes = ON;
|
||||||
|
SELECT @@sql_notes;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
SET @@sql_notes = OF;
|
||||||
|
SELECT @@sql_notes;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_notes = OFF;
|
||||||
|
SELECT @@sql_notes;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_notes = @sql_notes_saved;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--echo # Checking delay_key_write...
|
||||||
|
SET @delay_key_write_saved = @@delay_key_write;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET GLOBAL delay_key_write = ON;
|
||||||
|
SELECT @@delay_key_write;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
SET GLOBAL delay_key_write = OF;
|
||||||
|
SELECT @@delay_key_write;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
SET GLOBAL delay_key_write = AL;
|
||||||
|
SELECT @@delay_key_write;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET GLOBAL delay_key_write = OFF;
|
||||||
|
SELECT @@delay_key_write;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET GLOBAL delay_key_write = ALL;
|
||||||
|
SELECT @@delay_key_write;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET GLOBAL delay_key_write = @delay_key_write_saved;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--echo # Checking sql_safe_updates...
|
||||||
|
SET @sql_safe_updates_saved = @@sql_safe_updates;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_safe_updates = ON;
|
||||||
|
SELECT @@sql_safe_updates;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
SET @@sql_safe_updates = OF;
|
||||||
|
SELECT @@sql_safe_updates;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_safe_updates = OFF;
|
||||||
|
SELECT @@sql_safe_updates;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_safe_updates = @sql_safe_updates_saved;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--echo # Checking foreign_key_checks...
|
||||||
|
SET @foreign_key_checks_saved = @@foreign_key_checks;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@foreign_key_checks = ON;
|
||||||
|
SELECT @@foreign_key_checks;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
SET @@foreign_key_checks = OF;
|
||||||
|
SELECT @@foreign_key_checks;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@foreign_key_checks = OFF;
|
||||||
|
SELECT @@foreign_key_checks;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@foreign_key_checks = @foreign_key_checks_saved;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--echo # Checking unique_checks...
|
||||||
|
SET @unique_checks_saved = @@unique_checks;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@unique_checks = ON;
|
||||||
|
SELECT @@unique_checks;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
SET @@unique_checks = OF;
|
||||||
|
SELECT @@unique_checks;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@unique_checks = OFF;
|
||||||
|
SELECT @@unique_checks;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@unique_checks = @unique_checks_saved;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--echo # Checking sql_buffer_result...
|
||||||
|
SET @sql_buffer_result_saved = @@sql_buffer_result;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_buffer_result = ON;
|
||||||
|
SELECT @@sql_buffer_result;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
SET @@sql_buffer_result = OF;
|
||||||
|
SELECT @@sql_buffer_result;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_buffer_result = OFF;
|
||||||
|
SELECT @@sql_buffer_result;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_buffer_result = @sql_buffer_result_saved;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--echo # Checking sql_quote_show_create...
|
||||||
|
SET @sql_quote_show_create_saved = @@sql_quote_show_create;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_quote_show_create = ON;
|
||||||
|
SELECT @@sql_quote_show_create;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--error ER_WRONG_VALUE_FOR_VAR
|
||||||
|
SET @@sql_quote_show_create = OF;
|
||||||
|
SELECT @@sql_quote_show_create;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_quote_show_create = OFF;
|
||||||
|
SELECT @@sql_quote_show_create;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
SET @@sql_quote_show_create = @sql_quote_show_create_saved;
|
||||||
|
|
||||||
|
--echo
|
||||||
|
--echo # End of Bug#34828.
|
||||||
|
--echo
|
||||||
|
|
||||||
--echo # Make sure we can manipulate with autocommit in the
|
--echo # Make sure we can manipulate with autocommit in the
|
||||||
--echo # along with other variables.
|
--echo # along with other variables.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user