Commit a312cb28 authored by Aleksey Midenkov's avatar Aleksey Midenkov

MDEV-20842 fix test internal check failure

parent 23e09062
install plugin test_versioning soname 'test_versioning.so';
set default_storage_engine= innodb;
create or replace table t1 (
x int,
......@@ -505,10 +506,10 @@ add `row_end` bigint unsigned as row end,
add period for system_time(`row_start`,`row_end`),
modify x int after row_start,
with system versioning;
create or replace database test;
drop table t;
#
# MDEV-20842 Crash using versioning plugin functions after plugin was removed from server
#
uninstall plugin test_versioning;
select trt_begin_ts(0);
ERROR 42000: FUNCTION trt_begin_ts does not exist
ERROR 42000: FUNCTION test.trt_begin_ts does not exist
--plugin-load-add=$TEST_VERSIONING_SO
......@@ -5,6 +5,8 @@ if (!$TEST_VERSIONING_SO)
--source include/have_innodb.inc
--source include/default_charset.inc
--eval install plugin test_versioning soname '$TEST_VERSIONING_SO'
set default_storage_engine= innodb;
create or replace table t1 (
......@@ -528,8 +530,7 @@ alter table t add `row_start` bigint unsigned as row start,
add period for system_time(`row_start`,`row_end`),
modify x int after row_start,
with system versioning;
create or replace database test;
drop table t;
--echo #
--echo # MDEV-20842 Crash using versioning plugin functions after plugin was removed from server
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment