⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
t
/
View File Name :
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;