Commit f38ef430 authored by Sergei Golubchik's avatar Sergei Golubchik

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).
parent f1bd02d9
set system_versioning_alter_history=keep;
# Check conventional partitioning on temporal tables
create table t1 (x int)
with system versioning
......
--system-versioning-alter-history=keep
-- source include/have_partition.inc
-- source suite/versioning/common.inc
set system_versioning_alter_history=keep;
--echo # Check conventional partitioning on temporal tables
create table t1 (x int)
......
--source include/have_partition.inc
--source suite/versioning/engines.inc
create table t (a int);
......
--innodb --default-storage-engine=innodb
-- source include/have_innodb.inc
set default_storage_engine=innodb;
delimiter ~~;
create or replace procedure drop_archives (in vtmd_name varchar(64))
begin
......
-- source include/have_innodb.inc
delimiter ~~;
create or replace procedure drop_archives (in vtmd_name varchar(64))
begin
......
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