mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-16783 Assertion `!conds' failed in mysql_delete upon 2nd execution of SP with DELETE HISTORY
* remove assertion * do not setup `conds` if it's already cached Fixes #823
This commit is contained in:
committed by
Sergei Golubchik
parent
6c6ca907ee
commit
db3be33ec8
@ -107,5 +107,15 @@ unlock tables;
|
||||
drop view v;
|
||||
drop table t;
|
||||
|
||||
#
|
||||
# MDEV-16783 Assertion `!conds' failed in mysql_delete upon 2nd execution of SP with DELETE HISTORY
|
||||
#
|
||||
create table t1 (i int) with system versioning;
|
||||
create procedure pr() delete history from t1 before system_time now();
|
||||
call pr;
|
||||
call pr;
|
||||
drop procedure pr;
|
||||
drop table t1;
|
||||
|
||||
drop database test;
|
||||
create database test;
|
||||
|
Reference in New Issue
Block a user