Bug #120345 XA END ... SUSPEND returns XAER_INVAL

Submitted: 26 Apr 19:18
Reporter: Kristian Ivarsson Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server: XA transactions Severity:S4 (Feature request)
Version:8.4.8 OS:Ubuntu
Assigned to: CPU Architecture:x86 (64)
Tags: xa end

[26 Apr 19:18] Kristian Ivarsson
Description:
XA END ... SUSPEND returns XAER_INVAL despite documentation stating it is "recognized but has no effect"

How to repeat:
Call this through ODBC (even though the behaviour is the same even through the CLI)

"XA END X'AA',X'AA',1 SUSPEND;"

... and you get XAER_INVAL even though the documentation states that it should be valid (but maybe ignored)

Calling without suspend

"XA END X'AA',X'AA',1;"

... works fine, but thetransaction isn't really ended, but merely suspended

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.048 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.