remove few .require files and one duplicate have_*inc file.

move variable tests from main to sys-vars
This commit is contained in:
Sergei Golubchik 2012-02-23 07:52:27 +01:00
parent 52108aa70c
commit a19a4618e3
13 changed files with 7 additions and 17 deletions

View file

@ -4,7 +4,6 @@
#
# The test below is redundant
-- require r/have_debug.require
disable_query_log;
select (version() like '%debug%') as debug;
enable_query_log;
if (`select version() not like '%debug%'`) {
--skip Needs a debug build
}

View file

@ -1,4 +0,0 @@
-- require r/have_nodebug.require
disable_query_log;
select (version() like '%debug%') as debug;
enable_query_log;

View file

@ -1,6 +1,5 @@
let $is_debug = `select version() like '%debug%'`;
if ($is_debug)
if (`select version() like '%debug%'`)
{
skip Does not run in with debug binaries;
skip Does not run with debug binaries;
}

View file

@ -1,2 +0,0 @@
debug
1

View file

@ -1,2 +0,0 @@
debug
0

View file

@ -1,2 +1,2 @@
--source include/have_nodebug.inc
--source include/not_debug.inc
--source percona_server_variables.inc

View file

@ -2,7 +2,7 @@
# Test the debugging feature "show procedure/function code <name>"
#
-- source include/have_nodebug.inc
-- source include/not_debug.inc
--error ER_FEATURE_DISABLED
show procedure code foo;