mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
remove dead VERS_EXPERIMENTAL code
changed to use DBUG keywords instead, so that the code is compiled and tested added tests.
This commit is contained in:
29
mysql-test/suite/versioning/t/debug.test
Normal file
29
mysql-test/suite/versioning/t/debug.test
Normal file
@ -0,0 +1,29 @@
|
||||
--source include/have_debug.inc
|
||||
|
||||
create table t1 (a int);
|
||||
show create table t1;
|
||||
|
||||
--error ER_VERS_TEMPORARY
|
||||
create temporary table tt1 (a int) with system versioning;
|
||||
|
||||
set @old_dbug=@@global.debug_dbug;
|
||||
set global debug_dbug='+d,sysvers_force';
|
||||
|
||||
create table t2 (a int);
|
||||
show create table t2;
|
||||
|
||||
create temporary table tt2 (a int) with system versioning;
|
||||
show create table tt2;
|
||||
|
||||
--connect con1, localhost, root
|
||||
|
||||
create table t3 (a int);
|
||||
show create table t3;
|
||||
|
||||
create temporary table tt3 (a int) with system versioning;
|
||||
show create table tt3;
|
||||
--disconnect con1
|
||||
--connection default
|
||||
|
||||
set global debug_dbug=@old_dbug;
|
||||
drop table t1, t2, t3;
|
Reference in New Issue
Block a user