⚝
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 :
log_tables-big.test
# The include statement below is a temp one for tests that are yet to #be ported to run with InnoDB, #but needs to be kept for tests that would need MyISAM in future. --source include/force_myisam_default.inc # this test needs multithreaded mysqltest -- source include/not_embedded.inc # Test sleeps for long times --source include/big_test.inc set @@global.log_output = 'TABLE'; connect (con1,localhost,root,,); connect (con2,localhost,root,,); # # Bug #27638: slow logging to CSV table inserts bad query_time and lock_time values # connection con1; set session long_query_time=10; select get_lock('bug27638', 1); connection con2; set session long_query_time=1; select get_lock('bug27638', 2); select if (query_time >= '00:00:01', 'OK', 'WRONG') as qt, sql_text from mysql.slow_log where sql_text = 'select get_lock(\'bug27638\', 2)'; select get_lock('bug27638', 60); select if (query_time >= '00:00:59', 'OK', 'WRONG') as qt, sql_text from mysql.slow_log where sql_text = 'select get_lock(\'bug27638\', 60)'; select get_lock('bug27638', 101); select if (query_time >= '00:01:40', 'OK', 'WRONG') as qt, sql_text from mysql.slow_log where sql_text = 'select get_lock(\'bug27638\', 101)'; connection con1; select release_lock('bug27638'); connection default; disconnect con1; disconnect con2; set @@global.log_output=default;