⚝
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 :
xa_gtid.test
--source include/not_embedded.inc --echo # Bug #22173903 XA+GTID: ASSERT 'THD->OWNED_GTID.IS_EMPTY()' --echo # AT RPL_GTID_STATE.CC:614 --echo --enable_connect_log --echo # Test 1: Commit Test connect (con1,localhost,root); CREATE TABLE t1 (a INT); XA START 'xa1'; INSERT INTO t1 VALUES (1); XA END 'xa1'; XA PREPARE 'xa1'; disconnect con1; --source include/wait_until_disconnected.inc connection default; BEGIN; INSERT INTO t1 VALUES(1); --error ER_XAER_RMFAIL XA COMMIT 'xa1'; COMMIT; XA COMMIT 'xa1'; DROP TABLE t1; --echo --echo # Test 2 : Rollback Test connect (con1,localhost,root); CREATE TABLE t1 (a INT); XA START 'xa1'; INSERT INTO t1 VALUES (1); XA END 'xa1'; XA PREPARE 'xa1'; disconnect con1; --source include/wait_until_disconnected.inc connection default; BEGIN; INSERT INTO t1 VALUES(1); --error ER_XAER_RMFAIL XA ROLLBACK 'xa1'; COMMIT; XA ROLLBACK 'xa1'; DROP TABLE t1; --disable_connect_log