[MDEV-25006] Failed assertion on executing EXPLAIN DELETE statement as a prepared statement Created: 2021-02-27  Updated: 2021-03-02  Resolved: 2021-03-02

Status: Closed
Project: MariaDB Server
Component/s: Prepared Statements
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6
Fix Version/s: 10.2.38, 10.3.29, 10.4.19, 10.5.10, 10.6.0

Type: Bug Priority: Critical
Reporter: Dmitry Shulga Assignee: Dmitry Shulga
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-16708 Unsupported commands for prepared sta... Closed
Duplicate
is duplicated by MDEV-24664 Assertion `! is_set()' failed in Diag... Closed

 Description   

Running of the following test case

CREATE TABLE t1(c1 CHAR(255) PRIMARY KEY);
PREPARE stmt FROM 'EXPLAIN DELETE b FROM t1 AS a JOIN t1 AS b';
EXECUTE stmt;

results in firing of the assertion

 DBUG_ASSERT(! is_set());

in the method Diagnostics_area::set_eof_status.



 Comments   
Comment by Elena Stepanova [ 2021-02-27 ]

Same as MDEV-24664, please close both when fixed.

Comment by Oleksandr Byelkin [ 2021-03-02 ]

OK to push

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