Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8eac0504
Commit
8eac0504
authored
Nov 28, 2017
by
Eugene Kosov
Committed by
GitHub
Nov 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: revert unneded changes
parent
21928039
Changes
45
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
409 additions
and
116 deletions
+409
-116
mysql-test/r/variables.result
mysql-test/r/variables.result
+165
-0
mysql-test/suite/handler/disabled.def
mysql-test/suite/handler/disabled.def
+0
-11
mysql-test/suite/innodb/r/group_commit_crash.result
mysql-test/suite/innodb/r/group_commit_crash.result
+12
-28
mysql-test/suite/innodb/t/group_commit_crash.test
mysql-test/suite/innodb/t/group_commit_crash.test
+9
-14
mysql-test/suite/sys_vars/r/delay_key_write_basic.result
mysql-test/suite/sys_vars/r/delay_key_write_basic.result
+2
-2
mysql-test/suite/sys_vars/r/foreign_key_checks_basic.result
mysql-test/suite/sys_vars/r/foreign_key_checks_basic.result
+2
-2
mysql-test/suite/sys_vars/r/innodb_table_locks_basic.result
mysql-test/suite/sys_vars/r/innodb_table_locks_basic.result
+2
-2
mysql-test/suite/sys_vars/r/keep_files_on_create_basic.result
...l-test/suite/sys_vars/r/keep_files_on_create_basic.result
+2
-2
mysql-test/suite/sys_vars/r/log_bin_trust_function_creators_basic.result
...e/sys_vars/r/log_bin_trust_function_creators_basic.result
+2
-2
mysql-test/suite/sys_vars/r/low_priority_updates_basic.result
...l-test/suite/sys_vars/r/low_priority_updates_basic.result
+2
-2
mysql-test/suite/sys_vars/r/old_passwords_basic.result
mysql-test/suite/sys_vars/r/old_passwords_basic.result
+2
-2
mysql-test/suite/sys_vars/r/optimizer_prune_level_basic.result
...-test/suite/sys_vars/r/optimizer_prune_level_basic.result
+1
-1
mysql-test/suite/sys_vars/r/pseudo_slave_mode_basic.result
mysql-test/suite/sys_vars/r/pseudo_slave_mode_basic.result
+2
-2
mysql-test/suite/sys_vars/r/query_cache_wlock_invalidate_basic.result
...uite/sys_vars/r/query_cache_wlock_invalidate_basic.result
+4
-4
mysql-test/suite/sys_vars/r/sql_big_selects_basic.result
mysql-test/suite/sys_vars/r/sql_big_selects_basic.result
+2
-2
mysql-test/suite/sys_vars/r/sql_big_tables_basic.result
mysql-test/suite/sys_vars/r/sql_big_tables_basic.result
+1
-1
mysql-test/suite/sys_vars/r/sql_buffer_result_basic.result
mysql-test/suite/sys_vars/r/sql_buffer_result_basic.result
+2
-2
mysql-test/suite/sys_vars/r/sql_log_bin_basic.result
mysql-test/suite/sys_vars/r/sql_log_bin_basic.result
+2
-2
mysql-test/suite/sys_vars/r/sql_log_off_basic.result
mysql-test/suite/sys_vars/r/sql_log_off_basic.result
+2
-2
mysql-test/suite/sys_vars/r/sql_low_priority_updates_basic.result
...st/suite/sys_vars/r/sql_low_priority_updates_basic.result
+2
-2
mysql-test/suite/sys_vars/r/sql_notes_basic.result
mysql-test/suite/sys_vars/r/sql_notes_basic.result
+2
-2
mysql-test/suite/sys_vars/r/sql_quote_show_create_basic.result
...-test/suite/sys_vars/r/sql_quote_show_create_basic.result
+2
-2
mysql-test/suite/sys_vars/r/sql_safe_updates_basic.result
mysql-test/suite/sys_vars/r/sql_safe_updates_basic.result
+2
-2
mysql-test/suite/sys_vars/r/sql_warnings_basic.result
mysql-test/suite/sys_vars/r/sql_warnings_basic.result
+2
-2
mysql-test/suite/sys_vars/r/tx_read_only_basic.result
mysql-test/suite/sys_vars/r/tx_read_only_basic.result
+2
-2
mysql-test/suite/sys_vars/t/delay_key_write_basic.test
mysql-test/suite/sys_vars/t/delay_key_write_basic.test
+1
-1
mysql-test/suite/sys_vars/t/foreign_key_checks_basic.test
mysql-test/suite/sys_vars/t/foreign_key_checks_basic.test
+1
-1
mysql-test/suite/sys_vars/t/innodb_table_locks_basic.test
mysql-test/suite/sys_vars/t/innodb_table_locks_basic.test
+2
-2
mysql-test/suite/sys_vars/t/keep_files_on_create_basic.test
mysql-test/suite/sys_vars/t/keep_files_on_create_basic.test
+1
-1
mysql-test/suite/sys_vars/t/log_bin_trust_function_creators_basic.test
...ite/sys_vars/t/log_bin_trust_function_creators_basic.test
+1
-1
mysql-test/suite/sys_vars/t/low_priority_updates_basic.test
mysql-test/suite/sys_vars/t/low_priority_updates_basic.test
+1
-1
mysql-test/suite/sys_vars/t/old_passwords_basic.test
mysql-test/suite/sys_vars/t/old_passwords_basic.test
+1
-1
mysql-test/suite/sys_vars/t/optimizer_prune_level_basic.test
mysql-test/suite/sys_vars/t/optimizer_prune_level_basic.test
+1
-1
mysql-test/suite/sys_vars/t/pseudo_slave_mode_basic.test
mysql-test/suite/sys_vars/t/pseudo_slave_mode_basic.test
+1
-1
mysql-test/suite/sys_vars/t/query_cache_wlock_invalidate_basic.test
.../suite/sys_vars/t/query_cache_wlock_invalidate_basic.test
+2
-2
mysql-test/suite/sys_vars/t/sql_big_selects_basic.test
mysql-test/suite/sys_vars/t/sql_big_selects_basic.test
+1
-1
mysql-test/suite/sys_vars/t/sql_buffer_result_basic.test
mysql-test/suite/sys_vars/t/sql_buffer_result_basic.test
+1
-1
mysql-test/suite/sys_vars/t/sql_log_bin_basic.test
mysql-test/suite/sys_vars/t/sql_log_bin_basic.test
+1
-1
mysql-test/suite/sys_vars/t/sql_log_off_basic.test
mysql-test/suite/sys_vars/t/sql_log_off_basic.test
+1
-1
mysql-test/suite/sys_vars/t/sql_notes_basic.test
mysql-test/suite/sys_vars/t/sql_notes_basic.test
+1
-1
mysql-test/suite/sys_vars/t/sql_quote_show_create_basic.test
mysql-test/suite/sys_vars/t/sql_quote_show_create_basic.test
+1
-1
mysql-test/suite/sys_vars/t/sql_safe_updates_basic.test
mysql-test/suite/sys_vars/t/sql_safe_updates_basic.test
+1
-1
mysql-test/suite/sys_vars/t/sql_warnings_basic.test
mysql-test/suite/sys_vars/t/sql_warnings_basic.test
+1
-1
mysql-test/suite/sys_vars/t/tx_read_only_basic.test
mysql-test/suite/sys_vars/t/tx_read_only_basic.test
+1
-1
mysql-test/t/variables.test
mysql-test/t/variables.test
+160
-0
No files found.
mysql-test/r/variables.result
View file @
8eac0504
...
...
@@ -1577,6 +1577,171 @@ 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;
...
...
mysql-test/suite/handler/disabled.def
deleted
100644 → 0
View file @
21928039
##############################################################################
#
# 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.
#
##############################################################################
mysql-test/suite/innodb/r/group_commit_crash.result
View file @
8eac0504
...
...
@@ -5,15 +5,14 @@ d CHAR(255),
id INT,
PRIMARY KEY(id)) ENGINE=InnoDB;
create table t2 like t1;
create function getcrash(i INT)
returns VARCHAR(255)
create procedure setcrash(IN i INT)
begin
CASE i
WHEN 1 THEN
RETURN "
crash_commit_after_prepare";
WHEN 2 THEN
RETURN "
crash_commit_after_log";
WHEN 3 THEN
RETURN "
crash_commit_before_unlog";
WHEN 4 THEN
RETURN "
crash_commit_after";
WHEN 5 THEN
RETURN "
crash_commit_before";
WHEN 1 THEN
SET SESSION debug_dbug="d,
crash_commit_after_prepare";
WHEN 2 THEN
SET SESSION debug_dbug="d,
crash_commit_after_log";
WHEN 3 THEN
SET SESSION debug_dbug="d,
crash_commit_before_unlog";
WHEN 4 THEN
SET SESSION debug_dbug="d,
crash_commit_after";
WHEN 5 THEN
SET SESSION debug_dbug="d,
crash_commit_before";
ELSE BEGIN END;
END CASE;
end //
...
...
@@ -32,12 +31,9 @@ SET binlog_format= mixed;
RESET MASTER;
START TRANSACTION;
insert into t1 select * from t2;
SET @crash= getcrash(5);
SET SESSION debug_dbug=concat("d,", @crash);
call setcrash(5);
COMMIT;
Got one of the listed errors
CRASH_POINT
crash_commit_before
SELECT * FROM t1 ORDER BY id;
a b c d id
SHOW BINLOG EVENTS LIMIT 4,1;
...
...
@@ -47,12 +43,9 @@ SET binlog_format= mixed;
RESET MASTER;
START TRANSACTION;
insert into t1 select * from t2;
SET @crash= getcrash(4);
SET SESSION debug_dbug=concat("d,", @crash);
call setcrash(4);
COMMIT;
Got one of the listed errors
CRASH_POINT
crash_commit_after
SELECT * FROM t1 ORDER BY id;
a b c d id
a b c d 1
...
...
@@ -73,12 +66,9 @@ SET binlog_format= mixed;
RESET MASTER;
START TRANSACTION;
insert into t1 select * from t2;
SET @crash= getcrash(3);
SET SESSION debug_dbug=concat("d,", @crash);
call setcrash(3);
COMMIT;
Got one of the listed errors
CRASH_POINT
crash_commit_before_unlog
SELECT * FROM t1 ORDER BY id;
a b c d id
a b c d 1
...
...
@@ -99,12 +89,9 @@ SET binlog_format= mixed;
RESET MASTER;
START TRANSACTION;
insert into t1 select * from t2;
SET @crash= getcrash(2);
SET SESSION debug_dbug=concat("d,", @crash);
call setcrash(2);
COMMIT;
Got one of the listed errors
CRASH_POINT
crash_commit_after_log
SELECT * FROM t1 ORDER BY id;
a b c d id
a b c d 1
...
...
@@ -125,12 +112,9 @@ SET binlog_format= mixed;
RESET MASTER;
START TRANSACTION;
insert into t1 select * from t2;
SET @crash= getcrash(1);
SET SESSION debug_dbug=concat("d,", @crash);
call setcrash(1);
COMMIT;
Got one of the listed errors
CRASH_POINT
crash_commit_after_prepare
SELECT * FROM t1 ORDER BY id;
a b c d id
SHOW BINLOG EVENTS LIMIT 4,1;
...
...
@@ -138,4 +122,4 @@ Log_name Pos Event_type Server_id End_log_pos Info
delete from t1;
DROP TABLE t1;
DROP TABLE t2;
DROP
FUNCTION g
etcrash;
DROP
PROCEDURE s
etcrash;
mysql-test/suite/innodb/t/group_commit_crash.test
View file @
8eac0504
...
...
@@ -17,15 +17,14 @@ CREATE TABLE t1(a CHAR(255),
PRIMARY
KEY
(
id
))
ENGINE
=
InnoDB
;
create
table
t2
like
t1
;
delimiter
//;
create
function
getcrash
(
i
INT
)
returns
VARCHAR
(
255
)
create
procedure
setcrash
(
IN
i
INT
)
begin
CASE
i
WHEN
1
THEN
RETURN
"
crash_commit_after_prepare"
;
WHEN
2
THEN
RETURN
"
crash_commit_after_log"
;
WHEN
3
THEN
RETURN
"
crash_commit_before_unlog"
;
WHEN
4
THEN
RETURN
"
crash_commit_after"
;
WHEN
5
THEN
RETURN
"
crash_commit_before"
;
WHEN
1
THEN
SET
SESSION
debug_dbug
=
"d,
crash_commit_after_prepare"
;
WHEN
2
THEN
SET
SESSION
debug_dbug
=
"d,
crash_commit_after_log"
;
WHEN
3
THEN
SET
SESSION
debug_dbug
=
"d,
crash_commit_before_unlog"
;
WHEN
4
THEN
SET
SESSION
debug_dbug
=
"d,
crash_commit_after"
;
WHEN
5
THEN
SET
SESSION
debug_dbug
=
"d,
crash_commit_before"
;
ELSE
BEGIN
END
;
END
CASE
;
end
//
...
...
@@ -54,8 +53,8 @@ while ($numtests)
# Write file to make mysql-test-run.pl expect crash
--
exec
echo
"restart"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
eval
SET
@
crash
=
g
etcrash
(
$numtests
);
SET
SESSION
debug_dbug
=
concat
(
"d,"
,
@
crash
);
eval
call
s
etcrash
(
$numtests
);
# Run the crashing query
--
error
2006
,
2013
COMMIT
;
...
...
@@ -63,10 +62,6 @@ while ($numtests)
# Poll the server waiting for it to be back online again.
--
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.
SELECT
*
FROM
t1
ORDER
BY
id
;
--
replace_column
2
# 5 #
...
...
@@ -80,4 +75,4 @@ while ($numtests)
# final cleanup
DROP
TABLE
t1
;
DROP
TABLE
t2
;
DROP
FUNCTION
g
etcrash
;
DROP
PROCEDURE
s
etcrash
;
mysql-test/suite/sys_vars/r/delay_key_write_basic.result
View file @
8eac0504
...
...
@@ -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'
SET @@global.delay_key_write = ONN;
ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'ONN'
SET @@global.delay_key_write = OF
FF
;
ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'OF
FF
'
SET @@global.delay_key_write = OF;
ERROR 42000: Variable 'delay_key_write' can't be set to the value of 'OF'
SET @@global.delay_key_write = ' ';
ERROR 42000: Variable 'delay_key_write' can't be set to the value of ' '
SET @@global.delay_key_write = "";
...
...
mysql-test/suite/sys_vars/r/foreign_key_checks_basic.result
View file @
8eac0504
...
...
@@ -43,8 +43,8 @@ SET @@session.foreign_key_checks = TR
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of 'TRE'
SET @@session.foreign_key_checks = N;
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of 'N'
SET @@session.foreign_key_checks = OF
FF
;
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of 'OF
FF
'
SET @@session.foreign_key_checks = OF;
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of 'OF'
SET @@session.foreign_key_checks = FF;
ERROR 42000: Variable 'foreign_key_checks' can't be set to the value of 'FF'
SET @@session.foreign_key_checks = '';
...
...
mysql-test/suite/sys_vars/r/innodb_table_locks_basic.result
View file @
8eac0504
...
...
@@ -66,7 +66,7 @@ SET @@session.innodb_table_locks = TR
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of 'TRE'
SET @@session.innodb_table_locks = N;
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of 'N'
SET @@session.innodb_table_locks = OF
F
;
SET @@session.innodb_table_locks = OF;
SELECT @@session.innodb_table_locks;
@@session.innodb_table_locks
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 'TRE'
SET @@global.innodb_table_locks = QN;
ERROR 42000: Variable 'innodb_table_locks' can't be set to the value of 'QN'
SET @@global.innodb_table_locks = OF
F
;
SET @@global.innodb_table_locks = OF;
SELECT @@global.innodb_table_locks;
@@global.innodb_table_locks
0
...
...
mysql-test/suite/sys_vars/r/keep_files_on_create_basic.result
View file @
8eac0504
...
...
@@ -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'
SET @@session.keep_files_on_create = ONF;
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'ONF'
SET @@session.keep_files_on_create = OF
FF
;
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'OF
FF
'
SET @@session.keep_files_on_create = OF;
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'OF'
SET @@session.keep_files_on_create = 'OFN';
ERROR 42000: Variable 'keep_files_on_create' can't be set to the value of 'OFN'
SET @@session.keep_files_on_create = -2;
...
...
mysql-test/suite/sys_vars/r/log_bin_trust_function_creators_basic.result
View file @
8eac0504
...
...
@@ -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'
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'
SET @@global.log_bin_trust_function_creators = OF
FF
;
ERROR 42000: Variable 'log_bin_trust_function_creators' can't be set to the value of 'OF
FF
'
SET @@global.log_bin_trust_function_creators = OF;
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;
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;
...
...
mysql-test/suite/sys_vars/r/low_priority_updates_basic.result
View file @
8eac0504
...
...
@@ -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'
SET @@session.low_priority_updates = ONF;
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'ONF'
SET @@session.low_priority_updates = OF
FF
;
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'OF
FF
'
SET @@session.low_priority_updates = OF;
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'OF'
SET @@session.low_priority_updates = 'OFN';
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'OFN'
SET @@session.low_priority_updates = -2;
...
...
mysql-test/suite/sys_vars/r/old_passwords_basic.result
View file @
8eac0504
...
...
@@ -97,8 +97,8 @@ SET @@session.old_passwords = ONN;
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'ONN'
SET @@session.old_passwords = ONF;
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'ONF'
SET @@session.old_passwords = OF
FF
;
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'OF
FF
'
SET @@session.old_passwords = OF;
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'OF'
SET @@session.old_passwords = 'OFN';
ERROR 42000: Variable 'old_passwords' can't be set to the value of 'OFN'
SET @@session.old_passwords = -2;
...
...
mysql-test/suite/sys_vars/r/optimizer_prune_level_basic.result
View file @
8eac0504
...
...
@@ -104,7 +104,7 @@ SET @@session.optimizer_prune_level = ONF;
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
SET @@session.optimizer_prune_level = ON;
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
SET @@session.optimizer_prune_level = OF
FF
;
SET @@session.optimizer_prune_level = OF;
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
SET @@session.optimizer_prune_level = 'OFN';
ERROR 42000: Incorrect argument type to variable 'optimizer_prune_level'
...
...
mysql-test/suite/sys_vars/r/pseudo_slave_mode_basic.result
View file @
8eac0504
...
...
@@ -58,8 +58,8 @@ SET @@session.pseudo_slave_mode = TR
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of 'TRE'
SET @@session.pseudo_slave_mode = N;
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of 'N'
SET @@session.pseudo_slave_mode = OF
FF
;
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of 'OF
FF
'
SET @@session.pseudo_slave_mode = OF;
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of 'OF'
SET @@session.pseudo_slave_mode = FF;
ERROR 42000: Variable 'pseudo_slave_mode' can't be set to the value of 'FF'
SET @@session.pseudo_slave_mode = '';
...
...
mysql-test/suite/sys_vars/r/query_cache_wlock_invalidate_basic.result
View file @
8eac0504
...
...
@@ -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 'TRE'
SET @@session.query_cache_wlock_invalidate = N;
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'N'
SET @@session.query_cache_wlock_invalidate = OF
FF
;
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'OF
FF
'
SET @@session.query_cache_wlock_invalidate = OF;
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'OF'
SET @@session.query_cache_wlock_invalidate = FF;
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'FF'
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 'TRE'
SET @@global.query_cache_wlock_invalidate = N;
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'N'
SET @@global.query_cache_wlock_invalidate = OF
FF
;
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'OF
FF
'
SET @@global.query_cache_wlock_invalidate = OF;
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'OF'
SET @@global.query_cache_wlock_invalidate = FF;
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'FF'
'#-------------------FN_DYNVARS_135_05----------------------------#'
...
...
mysql-test/suite/sys_vars/r/sql_big_selects_basic.result
View file @
8eac0504
...
...
@@ -43,8 +43,8 @@ SET @@session.sql_big_selects = TR
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'TRE'
SET @@session.sql_big_selects = N;
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'N'
SET @@session.sql_big_selects = OF
FF
;
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'OF
FF
'
SET @@session.sql_big_selects = OF;
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'OF'
SET @@session.sql_big_selects = FF;
ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'FF'
SET @@session.sql_big_selects = '';
...
...
mysql-test/suite/sys_vars/r/sql_big_tables_basic.result
View file @
8eac0504
...
...
@@ -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ÜE'
SET @@session.sql_big_tables = ÕN;
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of 'ÕN'
SET @@session.sql_big_tables = OF
FF
;
SET @@session.sql_big_tables = OF;
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of 'OF'
SET @@session.sql_big_tables = ÓFF;
ERROR 42000: Variable 'sql_big_tables' can't be set to the value of 'ÓFF'
...
...
mysql-test/suite/sys_vars/r/sql_buffer_result_basic.result
View file @
8eac0504
...
...
@@ -48,8 +48,8 @@ SET @@session.sql_buffer_result = TR
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of 'TRE'
SET @@session.sql_buffer_result = N;
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of 'N'
SET @@session.sql_buffer_result = OF
FF
;
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of 'OF
FF
'
SET @@session.sql_buffer_result = OF;
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of 'OF'
SET @@session.sql_buffer_result = FF;
ERROR 42000: Variable 'sql_buffer_result' can't be set to the value of 'FF'
SET @@session.sql_buffer_result = '';
...
...
mysql-test/suite/sys_vars/r/sql_log_bin_basic.result
View file @
8eac0504
...
...
@@ -48,8 +48,8 @@ SET @@session.sql_log_bin = TR
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of 'TRE'
SET @@session.sql_log_bin = N;
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of 'N'
SET @@session.sql_log_bin = OF
FF
;
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of 'OF
FF
'
SET @@session.sql_log_bin = OF;
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of 'OF'
SET @@session.sql_log_bin = FF;
ERROR 42000: Variable 'sql_log_bin' can't be set to the value of 'FF'
SET @@session.sql_log_bin = '';
...
...
mysql-test/suite/sys_vars/r/sql_log_off_basic.result
View file @
8eac0504
...
...
@@ -48,8 +48,8 @@ SET @@session.sql_log_off = TR
ERROR 42000: Variable 'sql_log_off' can't be set to the value of 'TRE'
SET @@session.sql_log_off = N;
ERROR 42000: Variable 'sql_log_off' can't be set to the value of 'N'
SET @@session.sql_log_off = OF
FF
;
ERROR 42000: Variable 'sql_log_off' can't be set to the value of 'OF
FF
'
SET @@session.sql_log_off = OF;
ERROR 42000: Variable 'sql_log_off' can't be set to the value of 'OF'
SET @@session.sql_log_off = FF;
ERROR 42000: Variable 'sql_log_off' can't be set to the value of 'FF'
SET @@session.sql_log_off = '';
...
...
mysql-test/suite/sys_vars/r/sql_low_priority_updates_basic.result
View file @
8eac0504
...
...
@@ -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 'TRE'
SET @@session.sql_low_priority_updates = N;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'N'
SET @@session.sql_low_priority_updates = OF
FF
;
SET @@session.sql_low_priority_updates = OF;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'OF'
SET @@session.sql_low_priority_updates = FF;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '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 'TRE'
SET @@global.sql_low_priority_updates = N;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'N'
SET @@global.sql_low_priority_updates = OF
FF
;
SET @@global.sql_low_priority_updates = OF;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'OF'
SET @@global.sql_low_priority_updates = FF;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'FF'
...
...
mysql-test/suite/sys_vars/r/sql_notes_basic.result
View file @
8eac0504
...
...
@@ -48,8 +48,8 @@ SET @@session.sql_notes = TR
ERROR 42000: Variable 'sql_notes' can't be set to the value of 'TRÜE'
SET @@session.sql_notes = ÕN;
ERROR 42000: Variable 'sql_notes' can't be set to the value of 'ÕN'
SET @@session.sql_notes = OF
FF
;
ERROR 42000: Variable 'sql_notes' can't be set to the value of 'OF
FF
'
SET @@session.sql_notes = OF;
ERROR 42000: Variable 'sql_notes' can't be set to the value of 'OF'
SET @@session.sql_notes = ÓFF;
ERROR 42000: Variable 'sql_notes' can't be set to the value of 'ÓFF'
SET @@session.sql_notes = '¹';
...
...
mysql-test/suite/sys_vars/r/sql_quote_show_create_basic.result
View file @
8eac0504
...
...
@@ -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ÜE'
SET @@session.sql_quote_show_create = ÕN;
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of 'ÕN'
SET @@session.sql_quote_show_create = OF
FF
;
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of 'OF
FF
'
SET @@session.sql_quote_show_create = OF;
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of 'OF'
SET @@session.sql_quote_show_create = ÓFF;
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of 'ÓFF'
SET @@session.sql_quote_show_create = '¹';
...
...
mysql-test/suite/sys_vars/r/sql_safe_updates_basic.result
View file @
8eac0504
...
...
@@ -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ÜE'
SET @@session.sql_safe_updates = ÕN;
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'ÕN'
SET @@session.sql_safe_updates = OF
FF
;
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'OF
FF
'
SET @@session.sql_safe_updates = OF;
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'OF'
SET @@session.sql_safe_updates = ÓFF;
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'ÓFF'
SET @@session.sql_safe_updates = '¹';
...
...
mysql-test/suite/sys_vars/r/sql_warnings_basic.result
View file @
8eac0504
...
...
@@ -46,8 +46,8 @@ SET @@session.sql_warnings = TR
ERROR 42000: Variable 'sql_warnings' can't be set to the value of 'TRE'
SET @@session.sql_warnings = N;
ERROR 42000: Variable 'sql_warnings' can't be set to the value of 'N'
SET @@session.sql_warnings = OF
FF
;
ERROR 42000: Variable 'sql_warnings' can't be set to the value of 'OF
FF
'
SET @@session.sql_warnings = OF;
ERROR 42000: Variable 'sql_warnings' can't be set to the value of 'OF'
SET @@session.sql_warnings = FF;
ERROR 42000: Variable 'sql_warnings' can't be set to the value of 'FF'
SET @@session.sql_warnings = '';
...
...
mysql-test/suite/sys_vars/r/tx_read_only_basic.result
View file @
8eac0504
...
...
@@ -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'
SET @@session.tx_read_only = ONF;
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'ONF'
SET @@session.tx_read_only = OF
FF
;
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'OF
FF
'
SET @@session.tx_read_only = OF;
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'OF'
SET @@session.tx_read_only = 'OFN';
ERROR 42000: Variable 'tx_read_only' can't be set to the value of 'OFN'
SET @@session.tx_read_only = -2;
...
...
mysql-test/suite/sys_vars/t/delay_key_write_basic.test
View file @
8eac0504
...
...
@@ -90,7 +90,7 @@ SET @@global.delay_key_write = FALSE0;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
delay_key_write
=
ONN
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
delay_key_write
=
OF
FF
;
SET
@@
global
.
delay_key_write
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
delay_key_write
=
' '
;
...
...
mysql-test/suite/sys_vars/t/foreign_key_checks_basic.test
View file @
8eac0504
...
...
@@ -94,7 +94,7 @@ SET @@session.foreign_key_checks = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
foreign_key_checks
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
foreign_key_checks
=
OF
FF
;
SET
@@
session
.
foreign_key_checks
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
foreign_key_checks
=
FF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/innodb_table_locks_basic.test
View file @
8eac0504
...
...
@@ -119,7 +119,7 @@ SET @@session.innodb_table_locks = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
innodb_table_locks
=
N
;
SET
@@
session
.
innodb_table_locks
=
OF
F
;
SET
@@
session
.
innodb_table_locks
=
OF
;
SELECT
@@
session
.
innodb_table_locks
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
@@ -141,7 +141,7 @@ SET @@global.innodb_table_locks = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
innodb_table_locks
=
QN
;
SET
@@
global
.
innodb_table_locks
=
OF
F
;
SET
@@
global
.
innodb_table_locks
=
OF
;
SELECT
@@
global
.
innodb_table_locks
;
--
Error
ER_WRONG_TYPE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/keep_files_on_create_basic.test
View file @
8eac0504
...
...
@@ -132,7 +132,7 @@ SET @@session.keep_files_on_create = ONN;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
keep_files_on_create
=
ONF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
keep_files_on_create
=
OF
FF
;
SET
@@
session
.
keep_files_on_create
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
keep_files_on_create
=
'OFN'
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/log_bin_trust_function_creators_basic.test
View file @
8eac0504
...
...
@@ -96,7 +96,7 @@ SET @@global.log_bin_trust_function_creators = 'ONN';
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
log_bin_trust_function_creators
=
"OFFF"
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
log_bin_trust_function_creators
=
OF
FF
;
SET
@@
global
.
log_bin_trust_function_creators
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
log_bin_trust_function_creators
=
TTRUE
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/low_priority_updates_basic.test
View file @
8eac0504
...
...
@@ -132,7 +132,7 @@ SET @@session.low_priority_updates = ONN;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
low_priority_updates
=
ONF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
low_priority_updates
=
OF
FF
;
SET
@@
session
.
low_priority_updates
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
low_priority_updates
=
'OFN'
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/old_passwords_basic.test
View file @
8eac0504
...
...
@@ -131,7 +131,7 @@ SET @@session.old_passwords = ONN;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
old_passwords
=
ONF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
old_passwords
=
OF
FF
;
SET
@@
session
.
old_passwords
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
old_passwords
=
'OFN'
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/optimizer_prune_level_basic.test
View file @
8eac0504
...
...
@@ -140,7 +140,7 @@ SET @@session.optimizer_prune_level = ONF;
--
Error
ER_WRONG_TYPE_FOR_VAR
SET
@@
session
.
optimizer_prune_level
=
ON
;
--
Error
ER_WRONG_TYPE_FOR_VAR
SET
@@
session
.
optimizer_prune_level
=
OF
FF
;
SET
@@
session
.
optimizer_prune_level
=
OF
;
--
Error
ER_WRONG_TYPE_FOR_VAR
SET
@@
session
.
optimizer_prune_level
=
'OFN'
;
...
...
mysql-test/suite/sys_vars/t/pseudo_slave_mode_basic.test
View file @
8eac0504
...
...
@@ -97,7 +97,7 @@ SET @@session.pseudo_slave_mode = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
pseudo_slave_mode
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
pseudo_slave_mode
=
OF
FF
;
SET
@@
session
.
pseudo_slave_mode
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
pseudo_slave_mode
=
FF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/query_cache_wlock_invalidate_basic.test
View file @
8eac0504
...
...
@@ -116,7 +116,7 @@ SET @@session.query_cache_wlock_invalidate = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
query_cache_wlock_invalidate
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
query_cache_wlock_invalidate
=
OF
FF
;
SET
@@
session
.
query_cache_wlock_invalidate
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
query_cache_wlock_invalidate
=
FF
;
...
...
@@ -135,7 +135,7 @@ SET @@global.query_cache_wlock_invalidate = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
query_cache_wlock_invalidate
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
query_cache_wlock_invalidate
=
OF
FF
;
SET
@@
global
.
query_cache_wlock_invalidate
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
query_cache_wlock_invalidate
=
FF
;
...
...
mysql-test/suite/sys_vars/t/sql_big_selects_basic.test
View file @
8eac0504
...
...
@@ -94,7 +94,7 @@ SET @@session.sql_big_selects = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_big_selects
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_big_selects
=
OF
FF
;
SET
@@
session
.
sql_big_selects
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_big_selects
=
FF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/sql_buffer_result_basic.test
View file @
8eac0504
...
...
@@ -100,7 +100,7 @@ SET @@session.sql_buffer_result = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_buffer_result
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_buffer_result
=
OF
FF
;
SET
@@
session
.
sql_buffer_result
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_buffer_result
=
FF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/sql_log_bin_basic.test
View file @
8eac0504
...
...
@@ -98,7 +98,7 @@ SET @@session.sql_log_bin = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_log_bin
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_log_bin
=
OF
FF
;
SET
@@
session
.
sql_log_bin
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_log_bin
=
FF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/sql_log_off_basic.test
View file @
8eac0504
...
...
@@ -97,7 +97,7 @@ SET @@session.sql_log_off = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_log_off
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_log_off
=
OF
FF
;
SET
@@
session
.
sql_log_off
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_log_off
=
FF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/sql_notes_basic.test
View file @
8eac0504
...
...
@@ -99,7 +99,7 @@ SET @@session.sql_notes = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_notes
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_notes
=
OF
FF
;
SET
@@
session
.
sql_notes
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_notes
=
FF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/sql_quote_show_create_basic.test
View file @
8eac0504
...
...
@@ -98,7 +98,7 @@ SET @@session.sql_quote_show_create = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_quote_show_create
=
ÕN
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_quote_show_create
=
OF
FF
;
SET
@@
session
.
sql_quote_show_create
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_quote_show_create
=
ÓFF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/sql_safe_updates_basic.test
View file @
8eac0504
...
...
@@ -97,7 +97,7 @@ SET @@session.sql_safe_updates = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_safe_updates
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_safe_updates
=
OF
FF
;
SET
@@
session
.
sql_safe_updates
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_safe_updates
=
FF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/sql_warnings_basic.test
View file @
8eac0504
...
...
@@ -98,7 +98,7 @@ SET @@session.sql_warnings = TR
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_warnings
=
N
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_warnings
=
OF
FF
;
SET
@@
session
.
sql_warnings
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
sql_warnings
=
FF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/suite/sys_vars/t/tx_read_only_basic.test
View file @
8eac0504
...
...
@@ -116,7 +116,7 @@ SET @@session.tx_read_only = ONN;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
tx_read_only
=
ONF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
tx_read_only
=
OF
FF
;
SET
@@
session
.
tx_read_only
=
OF
;
--
Error
ER_WRONG_VALUE_FOR_VAR
SET
@@
session
.
tx_read_only
=
'OFN'
;
--
Error
ER_WRONG_VALUE_FOR_VAR
...
...
mysql-test/t/variables.test
View file @
8eac0504
...
...
@@ -1295,6 +1295,166 @@ DROP TABLE t1;
--
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
# along with other variables.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment