⚝
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
/
include
/
View File Name :
assert_and_disable_read_only.inc
# ==== Purpose ==== # # Assert that both super_read_only and read_only variables are # enabled and reset their value. # # # ==== Usage ==== # # [--let $skip_reset_read_mode= 1] # [--let $rpl_debug= 1] # --source include/assert_and_disable_read_only.inc # # Parameters: # $skip_reset_read_mode # Skip reset both super_read_only and read_only variables. # # $rpl_debug # See include/rpl_init.inc --let $include_filename= assert_and_disable_read_only.inc --source include/begin_include_file.inc if (!$rpl_debug) { --disable_query_log } --let $assert_cond= "[SELECT @@GLOBAL.super_read_only]" = 1 --let $assert_text= Assert that server is running in super read only. --source include/assert.inc --let $assert_cond= "[SELECT @@GLOBAL.read_only]" = 1 --let $assert_text= Assert that server is running in read only. --source include/assert.inc if (!$skip_reset_read_mode) { # Disable super read only. SET GLOBAL read_only= FALSE; } --let $skip_reset_read_mode= --let $include_filename= assert_and_disable_read_only.inc --source include/end_include_file.inc