⚝
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 :
gtid_prepare_and_execute_stmt.inc
# ==== Purpose ==== # # Verify that GTID ownership is released for explicit prepared statement # with specified GTID, which is added in 'gtid_executed' table. # # ==== Implementation ==== # # 1. SET SESSION GTID_NEXT='UUID:GNO' # 2. Prepare a statment # 3. Execute the statement # 4. See that an entry is added in 'gtid_executed' table. # # ==== Usage ==== # # --let $statement= SQL command # --source include/prepare_and_execute_stmt.test --connection default SET GTID_NEXT = 'AUTOMATIC'; --replace_result $master_uuid MASTER_UUID --let $number = `SELECT GTID_NEXT_GENERATED(@@GLOBAL.GTID_EXECUTED, @@GLOBAL.SERVER_UUID)` --eval SET SESSION GTID_NEXT='$master_uuid:$number' --eval PREPARE stmt FROM '$statement' EXECUTE stmt; --connection connection_for_table_check --let $gtid_step_check_table= 1 --source include/gtid_step_assert.inc