mirror of
https://github.com/MariaDB/server.git
synced 2025-11-28 17:36:30 +03:00
MDEV-19814 Assertion `update->n_fields < ulint(table->n_cols + table->n_v_cols)' on DELETE HISTORY
Turn off versioned_write for DELETE HISTORY.
This commit is contained in:
@@ -106,5 +106,17 @@ call pr;
|
||||
call pr;
|
||||
drop procedure pr;
|
||||
drop table t1;
|
||||
#
|
||||
# MDEV-19814 Assertion `update->n_fields < ulint(table->n_cols + table->n_v_cols)' on DELETE HISTORY
|
||||
#
|
||||
create or replace table t1 (
|
||||
f varchar(1),
|
||||
row_start SYS_TYPE as row start,
|
||||
row_end SYS_TYPE as row end,
|
||||
period for system_time (row_start, row_end))
|
||||
with system versioning;
|
||||
insert into t1 (f) values ('a'), ('b'), ('c'), ('d'), ('e'), ('f'), ('g'), ('h');
|
||||
delete from t1;
|
||||
delete history from t1;
|
||||
drop database test;
|
||||
create database test;
|
||||
|
||||
Reference in New Issue
Block a user