Current Path : /usr/opt/mysql57/mysql-test/t/ |
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 : //usr/opt/mysql57/mysql-test/t/transaction_read_only.test |
--echo # --echo # WL#9636: Rename tx_{read_only,isolation} variables to transaction_* --echo # SET @saved_global_read_only= @@global.transaction_read_only; --echo # Case 1: Check the influence of --transaction_read_only on --echo # @@session.transaction_read_only and @@global.transaction_read_only, --echo # @@session.tx_read_only, @@global.tx_read_only. SELECT @@session.transaction_read_only, @@global.transaction_read_only, @@session.tx_read_only, @@global.tx_read_only; --echo # Case 2: Check that the change to tx_read_only is reflected --echo # to transaction_read_only. SET tx_read_only= OFF; SET @@global.tx_read_only= ON; SELECT @@session.tx_read_only, @@global.tx_read_only, @@session.transaction_read_only, @@global.transaction_read_only; SET tx_read_only= ON; SET @@global.tx_read_only= OFF; SELECT @@session.tx_read_only, @@global.tx_read_only, @@session.transaction_read_only, @@global.transaction_read_only; SET tx_read_only= DEFAULT; SET @@global.tx_read_only= DEFAULT; SELECT @@session.tx_read_only, @@global.tx_read_only, @@session.transaction_read_only, @@global.transaction_read_only; --echo # Case 3: Check that the change to transaction_read_only is reflected --echo # to tx_read_only. SET transaction_read_only= OFF; SET @@global.transaction_read_only= ON; SELECT @@session.tx_read_only, @@global.tx_read_only, @@session.transaction_read_only, @@global.transaction_read_only; SET transaction_read_only= ON; SET @@global.transaction_read_only= OFF; SELECT @@session.tx_read_only, @@global.tx_read_only, @@session.transaction_read_only, @@global.transaction_read_only; SET transaction_read_only= DEFAULT; SET @@global.transaction_read_only= DEFAULT; SELECT @@session.tx_read_only, @@global.tx_read_only, @@session.transaction_read_only, @@global.transaction_read_only; SET @@global.tx_read_only= @saved_global_read_only; SET @@global.transaction_read_only= @saved_global_read_only;