[MDEV-32882] Transaction not registered for MariaDB 2PC, but transaction is active upon CREATE .. SELECT from OQGraph table Created: 2023-11-25  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - OQGRAPH
Affects Version/s: 10.4, 10.5, 10.6, 10.10, 10.11, 11.0, 11.1, 11.2
Fix Version/s: 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

--source include/have_innodb.inc
 
INSTALL SONAME 'ha_oqgraph';
 
CREATE TABLE oq_backing (
  origid INT UNSIGNED NOT NULL, 
  destid INT UNSIGNED NOT NULL,  
  PRIMARY KEY (origid, destid), 
  KEY (destid)
) ENGINE=InnoDB;
CREATE TABLE oq (
  latch VARCHAR(32) NULL,
  origid BIGINT UNSIGNED NULL,
  destid BIGINT UNSIGNED NULL,
  weight DOUBLE NULL,
  seq BIGINT UNSIGNED NULL,
  linkid BIGINT UNSIGNED NULL,
  KEY (latch, origid, destid) USING HASH,
  KEY (latch, destid, origid) USING HASH
) ENGINE=OQGRAPH data_table='oq_backing' origid='origid' destid='destid';
 
CREATE TABLE t (a INT);
CREATE OR REPLACE TABLE t AS SELECT * FROM oq;
 
# Cleanup
DROP TABLE t, oq, oq_backing;
UNINSTALL SONAME 'ha_oqgraph';

10.4 64f44b22d9a3dab3d4c0b77addbcbdafde57b466

2023-11-25 21:56:11 9 [ERROR] Transaction not registered for MariaDB 2PC, but transaction is active


Generated at Thu Feb 08 10:34:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.