config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/sql_safe_updates_basic.result

SET @session_start_value = @@session.sql_safe_updates;
SELECT @session_start_value;
@session_start_value
0
'#--------------------FN_DYNVARS_163_01------------------------#'
SET @@session.sql_safe_updates = 0;
SET @@session.sql_safe_updates = DEFAULT;
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
0
SET @@session.sql_safe_updates = 1;
SET @@session.sql_safe_updates = DEFAULT;
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
0
'#---------------------FN_DYNVARS_163_02-------------------------#'
SET sql_safe_updates = 1;
SELECT @@sql_safe_updates;
@@sql_safe_updates
1
SELECT session.sql_safe_updates;
ERROR 42S02: Unknown table 'session' in field list
SELECT local.sql_safe_updates;
ERROR 42S02: Unknown table 'local' in field list
SET session sql_safe_updates = 0;
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
0
'#--------------------FN_DYNVARS_163_03------------------------#'
SET @@session.sql_safe_updates = 0;
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
0
SET @@session.sql_safe_updates = 1;
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
1
'#--------------------FN_DYNVARS_163_04-------------------------#'
SET @@session.sql_safe_updates = -1;
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of '-1'
SET @@session.sql_safe_updates = 2;
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of '2'
SET @@session.sql_safe_updates = "T";
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'T'
SET @@session.sql_safe_updates = "Y";
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'Y'
SET @@session.sql_safe_updates = TRÜE;
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;
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 = '¹';
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of '¹'
SET @@session.sql_safe_updates = NO;
ERROR 42000: Variable 'sql_safe_updates' can't be set to the value of 'NO'
'#-------------------FN_DYNVARS_163_05----------------------------#'
SET @@global.sql_safe_updates = 1-@@global.sql_safe_updates;
SELECT @@global.sql_safe_updates;
@@global.sql_safe_updates
1
SET @@global.sql_safe_updates = 1-@@global.sql_safe_updates;
SELECT @@global.sql_safe_updates;
@@global.sql_safe_updates
0
'#----------------------FN_DYNVARS_163_06------------------------#'
SELECT count(VARIABLE_VALUE) 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='sql_safe_updates';
count(VARIABLE_VALUE)
1
'#----------------------FN_DYNVARS_163_07------------------------#'
SELECT IF(@@session.sql_safe_updates, "ON", "OFF") = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
WHERE VARIABLE_NAME='sql_safe_updates';
IF(@@session.sql_safe_updates, "ON", "OFF") = VARIABLE_VALUE
1
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
1
SELECT VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
WHERE VARIABLE_NAME='sql_safe_updates';
VARIABLE_VALUE
ON
'#---------------------FN_DYNVARS_163_08-------------------------#'
SET @@session.sql_safe_updates = OFF;
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
0
SET @@session.sql_safe_updates = ON;
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
1
'#---------------------FN_DYNVARS_163_09----------------------#'
SET @@session.sql_safe_updates = TRUE;
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
1
SET @@session.sql_safe_updates = FALSE;
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
0
SET @@session.sql_safe_updates = @session_start_value;
SELECT @@session.sql_safe_updates;
@@session.sql_safe_updates
0

Man Man