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 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/tx_isolation_basic.result |
SET @global_start_value = @@global.tx_isolation; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @global_start_value; @global_start_value REPEATABLE-READ SET @session_start_value = @@session.tx_isolation; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @session_start_value; @session_start_value REPEATABLE-READ '#--------------------FN_DYNVARS_183_01------------------------#' SET @@global.tx_isolation = 'READ-UNCOMMITTED'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@global.tx_isolation = DEFAULT; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation REPEATABLE-READ Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@session.tx_isolation = DEFAULT; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@session.tx_isolation; @@session.tx_isolation REPEATABLE-READ Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead '#---------------------FN_DYNVARS_183_02-------------------------#' SET @@global.tx_isolation = NULL; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'NULL' SET @@global.tx_isolation = ''; ERROR 42000: Variable 'tx_isolation' can't be set to the value of '' SET @@session.tx_isolation = NULL; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'NULL' SET @@session.tx_isolation = ''; ERROR 42000: Variable 'tx_isolation' can't be set to the value of '' '#--------------------FN_DYNVARS_183_03------------------------#' SET @@global.tx_isolation = 'READ-UNCOMMITTED'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation READ-UNCOMMITTED Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@global.tx_isolation = 'read-COMMITTED'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation READ-COMMITTED Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@global.tx_isolation = 'REPEATABLE-READ'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation REPEATABLE-READ Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@global.tx_isolation = 'SERIALIZable'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation SERIALIZABLE Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@session.tx_isolation = 'READ-UNCOMMITTED'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@session.tx_isolation; @@session.tx_isolation READ-UNCOMMITTED Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@session.tx_isolation = 'READ-COMMITTED'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@session.tx_isolation; @@session.tx_isolation READ-COMMITTED Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@session.tx_isolation = 'REPEATABLE-READ'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@session.tx_isolation; @@session.tx_isolation REPEATABLE-READ Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@session.tx_isolation = 'serializable'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@session.tx_isolation; @@session.tx_isolation SERIALIZABLE Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead '#--------------------FN_DYNVARS_183_04-------------------------#' SET @@global.tx_isolation = -1; ERROR 42000: Variable 'tx_isolation' can't be set to the value of '-1' SET @@global.tx_isolation = READUNCOMMITTED; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'READUNCOMMITTED' SET @@global.tx_isolation = 'REPEATABLE'; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'REPEATABLE' SET @@global.tx_isolation = OFF; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'OFF' SET @@global.tx_isolation = ON; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'ON' SET @@global.tx_isolation = 'NON-SERIALIZABLE'; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'NON-SERIALIZABLE' SET @@tx_isolation = -1; ERROR 42000: Variable 'tx_isolation' can't be set to the value of '-1' SET @@tx_isolation = READUNCOMMITTED; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'READUNCOMMITTED' SET @@tx_isolation = 'REPEATABLE'; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'REPEATABLE' SET @@tx_isolation = 'NONE'; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'NONE' SET @@tx_isolation = 'ALL'; ERROR 42000: Variable 'tx_isolation' can't be set to the value of 'ALL' '#-------------------FN_DYNVARS_183_05----------------------------#' SELECT @@session.tx_isolation = VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='tx_isolation'; @@session.tx_isolation = VARIABLE_VALUE 1 '#----------------------FN_DYNVARS_183_06------------------------#' SELECT @@global.tx_isolation = VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='tx_isolation'; @@global.tx_isolation = VARIABLE_VALUE 1 '#---------------------FN_DYNVARS_183_07-------------------------#' SET @@global.tx_isolation = 0; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation READ-UNCOMMITTED Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@global.tx_isolation = 1; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation READ-COMMITTED Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@global.tx_isolation = 2; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation REPEATABLE-READ Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@global.tx_isolation = 3; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation SERIALIZABLE Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@global.tx_isolation = 0.4; ERROR 42000: Incorrect argument type to variable 'tx_isolation' '#---------------------FN_DYNVARS_183_08----------------------#' SET @@global.tx_isolation = TRUE; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation READ-COMMITTED Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@global.tx_isolation = FALSE; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation READ-UNCOMMITTED Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead '#---------------------FN_DYNVARS_183_09----------------------#' SET tx_isolation = 'REPEATABLE-READ'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET session.tx_isolation = 'REPEATABLE-READ'; ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'session.tx_isolation = 'REPEATABLE-READ'' at line 1 SET global.tx_isolation = 'REPEATABLE-READ'; ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'global.tx_isolation = 'REPEATABLE-READ'' at line 1 SET session tx_isolation = 'REPEATABLE-READ'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@tx_isolation; @@tx_isolation REPEATABLE-READ Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET global tx_isolation = 'REPEATABLE-READ'; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation REPEATABLE-READ Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@global.tx_isolation = @global_start_value; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@global.tx_isolation; @@global.tx_isolation REPEATABLE-READ Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SET @@session.tx_isolation = @session_start_value; Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead SELECT @@session.tx_isolation; @@session.tx_isolation REPEATABLE-READ Warnings: Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead