⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xa.result

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 RESULT
字号:
drop table if exists t1, t2;create table t1 (a int) engine=innodb;xa start 'test1';insert t1 values (10);xa end 'test1';xa prepare 'test1';xa rollback 'test1';select * from t1;axa start 'test2';xa start 'test-bad';ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the  ACTIVE stateinsert t1 values (20);xa prepare 'test2';ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the  ACTIVE statexa end 'test2';xa prepare 'test2';xa commit 'test2';select * from t1;a20xa start 'testa','testb';insert t1 values (30);commit;ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the  ACTIVE statexa end 'testa','testb';begin;ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the  IDLE statecreate table t2 (a int);ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the  IDLE statexa start 'testa','testb';ERROR XAE08: XAER_DUPID: The XID already existsxa start 'testa','testb', 123;ERROR XAE08: XAER_DUPID: The XID already existsxa start 0x7465737462, 0x2030405060, 0xb;insert t1 values (40);xa end 'testb',' 0@P`',11;xa prepare 'testb',0x2030405060,11;start transaction;ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the  PREPARED statexa recover;formatID	gtrid_length	bqual_length	data11	5	5	testb 0@P`xa prepare 'testa','testb';xa recover;formatID	gtrid_length	bqual_length	data11	5	5	testb 0@P`1	5	5	testatestbxa commit 'testb',0x2030405060,11;ERROR XAE04: XAER_NOTA: Unknown XIDxa rollback 'testa','testb';xa start 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz';ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1select * from t1;a20drop table t1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -