mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
cleanup: remove *.opt files from the versioning suite
use include/have_xxx.inc when some feature needs to be present (because --xxx in the opt file will fail if the xxx is not compiled in) set variables in the test, not on the command line, to avoid unnecessary server restarts (they're must slower than SET).
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
|
set system_versioning_alter_history=keep;
|
||||||
# Check conventional partitioning on temporal tables
|
# Check conventional partitioning on temporal tables
|
||||||
create table t1 (x int)
|
create table t1 (x int)
|
||||||
with system versioning
|
with system versioning
|
||||||
|
@ -1 +0,0 @@
|
|||||||
--system-versioning-alter-history=keep
|
|
@ -1,6 +1,7 @@
|
|||||||
-- source include/have_partition.inc
|
-- source include/have_partition.inc
|
||||||
-- source suite/versioning/common.inc
|
-- source suite/versioning/common.inc
|
||||||
|
|
||||||
|
set system_versioning_alter_history=keep;
|
||||||
--echo # Check conventional partitioning on temporal tables
|
--echo # Check conventional partitioning on temporal tables
|
||||||
|
|
||||||
create table t1 (x int)
|
create table t1 (x int)
|
||||||
|
@ -1 +0,0 @@
|
|||||||
--partition
|
|
@ -1,3 +1,4 @@
|
|||||||
|
--source include/have_partition.inc
|
||||||
--source suite/versioning/engines.inc
|
--source suite/versioning/engines.inc
|
||||||
|
|
||||||
create table t (a int);
|
create table t (a int);
|
||||||
|
@ -1 +0,0 @@
|
|||||||
--innodb --default-storage-engine=innodb
|
|
@ -1,4 +1,6 @@
|
|||||||
-- source include/have_innodb.inc
|
-- source include/have_innodb.inc
|
||||||
|
set default_storage_engine=innodb;
|
||||||
|
|
||||||
delimiter ~~;
|
delimiter ~~;
|
||||||
create or replace procedure drop_archives (in vtmd_name varchar(64))
|
create or replace procedure drop_archives (in vtmd_name varchar(64))
|
||||||
begin
|
begin
|
||||||
|
@ -1 +0,0 @@
|
|||||||
--innodb
|
|
@ -1,3 +1,5 @@
|
|||||||
|
-- source include/have_innodb.inc
|
||||||
|
|
||||||
delimiter ~~;
|
delimiter ~~;
|
||||||
create or replace procedure drop_archives (in vtmd_name varchar(64))
|
create or replace procedure drop_archives (in vtmd_name varchar(64))
|
||||||
begin
|
begin
|
||||||
|
Reference in New Issue
Block a user