1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-14692 Server crash in MDL_ticket::has_stronger_or_equal_type

SQL: disable system-versioning stuff on TEMPORARY tables
This commit is contained in:
Eugene Kosov
2017-12-21 10:14:25 +03:00
committed by GitHub
parent acdfacee75
commit a04a283469
7 changed files with 27 additions and 6 deletions

View File

@ -362,5 +362,13 @@ insert into t1 values (1);
delete from t1;
alter table t1 engine=myisam;
--echo # MDEV-14692 crash in MDL_context::upgrade_shared_lock()
create or replace temporary table t (a int);
--error ER_VERS_TEMPORARY
alter table t change column if exists b c bigint unsigned generated always as row start;
--error ER_VERS_TEMPORARY
alter table t change column if exists b c bigint unsigned generated always as row end;
drop database test;
create database test;