[MDEV-23561] Spider doesn't work with ps protocol Created: 2020-08-24  Updated: 2020-10-06  Resolved: 2020-08-26

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Spider
Affects Version/s: 10.5
Fix Version/s: 10.5.7, 10.6.0

Type: Bug Priority: Critical
Reporter: Michael Widenius Assignee: Kentoku Shiba (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

mtr --ps spider/bugfix.checksum_table_with_quick_mode_3

Crashes with:
mariadbd: /my/maria-10.6/sql/sql_prepare.cc:4098: bool Prepared_statement::prepare(const char*, uint): Assertion `thd->transaction->stmt.is_empty()' failed.

Works without --ps

The reason for the crash is that in 10.5 one must protect new Independent transactions with 'start_new_trans', which spider doesn't do. This was done to support transactional store engines (and Aria) for MariaDB system tables.


Generated at Thu Feb 08 09:23:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.