Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
XID that has empty 'gtrid' or 'bqual' is not permitted by the XA spec
struct xid_t {
|
long formatID;
|
/∗ format identifier ∗/
|
long gtrid_length; /∗ value 1-64 ∗/
|
long bqual_length; /∗ value 1-64 ∗/
|
char data[XIDDATASIZE];
|
};
|
typedef struct xid_t XID;
|
|
but is accepted. E.g
--error 0
|
XA START '',''
|
Notice that in the following both
XA START 'something'; /* or */
|
XA START 'something','';
|
bqual remains empty which is OK.
Attachments
Issue Links
- relates to
-
MDEV-742 LP:803649 - Xa recovery failed on client disconnection
- Closed
-
MDEV-31928 Assertion `xid->gtrid_length + xid->bqual_length < 128' failed in void trx_undo_write_xid(trx_ulogf_t*, const XID*, mtr_t*)
- Closed