mycat的xa事務(wù)必須顯示的開啟才可以執(zhí)行。
set autocommit=0;
set xa =on;
insert into a .....;
insert into b ....;
commit;
關(guān)于xa事務(wù),這個(gè)文章寫的很詳細(xì)
reference:
http://mysql.taobao.org/monthly/2017/09/05/
mycat的xa事務(wù)必須顯示的開啟才可以執(zhí)行。
set autocommit=0;
set xa =on;
insert into a .....;
insert into b ....;
commit;
關(guān)于xa事務(wù),這個(gè)文章寫的很詳細(xì)
reference:
http://mysql.taobao.org/monthly/2017/09/05/