1
0
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:
Sergei Golubchik
2018-02-17 14:49:42 +01:00
parent f1bd02d994
commit f38ef43013
9 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -1 +0,0 @@
--system-versioning-alter-history=keep

View File

@ -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)

View File

@ -1 +0,0 @@
--partition

View File

@ -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);

View File

@ -1 +0,0 @@
--innodb --default-storage-engine=innodb

View File

@ -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

View File

@ -1 +0,0 @@
--innodb

View File

@ -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