Skip to content

MDEV-40818: INSERT into a table with ENGINE=DuckDB crashes the server when binary logging is enabled. - #5936

Open
itzanway wants to merge 1 commit into
MariaDB:11.4from
itzanway:fix-mdev-40818
Open

itzanway wants to merge 1 commit into
MariaDB:11.4from
itzanway:fix-mdev-40818

Conversation

@itzanway

Copy link
Copy Markdown
Contributor

DuckDB already prepared for binlog 2PC but had no recover callback, so ha_count_rw_2pc() was 0 and Gtid_log_event asserted.

DuckDB already prepared for binlog 2PC but had no recover callback, so
ha_count_rw_2pc() was 0 and Gtid_log_event asserted. Advertise recover
(no prepared XIDs survive restart).
@grooverdan
grooverdan requested a review from drrtuy October 21, 2026 01:23
@@ -0,0 +1,20 @@
--source ../include/have_duckdb.inc
--source include/have_log_bin.inc
--source include/not_msan.inc

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the not_msan.inc. there's currently no compatibility problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants