Shift skipping of some tests with embedded server from within
mysql-test-run to the tests themselves.
This commit is contained in:
parent
eecb813c6b
commit
46eda5b998
@ -1506,12 +1506,6 @@ run_testcase ()
|
|||||||
# script soon anyway so it is not worth it spending the time
|
# script soon anyway so it is not worth it spending the time
|
||||||
if [ "x$USE_EMBEDDED_SERVER" = "x1" -a -z "$DO_TEST" ] ; then
|
if [ "x$USE_EMBEDDED_SERVER" = "x1" -a -z "$DO_TEST" ] ; then
|
||||||
for t in \
|
for t in \
|
||||||
"bdb-deadlock" \
|
|
||||||
"connect" \
|
|
||||||
"flush_block_commit" \
|
|
||||||
"grant2" \
|
|
||||||
"grant_cache" \
|
|
||||||
"grant" \
|
|
||||||
"init_connect" \
|
"init_connect" \
|
||||||
"init_file" \
|
"init_file" \
|
||||||
"innodb" \
|
"innodb" \
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# connection in a separate thread.
|
# connection in a separate thread.
|
||||||
#
|
#
|
||||||
|
|
||||||
#-- source include/not_embedded.inc
|
-- source include/not_embedded.inc
|
||||||
-- source include/have_bdb.inc
|
-- source include/have_bdb.inc
|
||||||
|
|
||||||
connect (con1,localhost,root,,);
|
connect (con1,localhost,root,,);
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Unfortunately the check is incomplete as we can't handle errors on connect
|
# Unfortunately the check is incomplete as we can't handle errors on connect
|
||||||
# Also we can't connect without database
|
# Also we can't connect without database
|
||||||
|
|
||||||
|
# This test makes no sense with the embedded server
|
||||||
|
--source include/not_embedded.inc
|
||||||
|
|
||||||
#connect (con1,localhost,root,,"");
|
#connect (con1,localhost,root,,"");
|
||||||
#show tables;
|
#show tables;
|
||||||
connect (con1,localhost,root,,mysql);
|
connect (con1,localhost,root,,mysql);
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
# We verify that we did not introduce a deadlock.
|
# We verify that we did not introduce a deadlock.
|
||||||
# This is intended to mimick how mysqldump and innobackup work.
|
# This is intended to mimick how mysqldump and innobackup work.
|
||||||
|
|
||||||
|
# This test doesn't work with the embedded server
|
||||||
|
-- source include/not_embedded.inc
|
||||||
|
|
||||||
|
# And it requires InnoDB
|
||||||
-- source include/have_innodb.inc
|
-- source include/have_innodb.inc
|
||||||
|
|
||||||
connect (con1,localhost,root,,);
|
connect (con1,localhost,root,,);
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
# Test of GRANT commands
|
# Test of GRANT commands
|
||||||
|
|
||||||
|
# Grant tests not performed with embedded server
|
||||||
|
-- source include/not_embedded.inc
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
--disable_warnings
|
--disable_warnings
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# Grant tests not performed with embedded server
|
||||||
|
-- source include/not_embedded.inc
|
||||||
|
|
||||||
SET NAMES binary;
|
SET NAMES binary;
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Grant tests not performed with embedded server
|
||||||
|
-- source include/not_embedded.inc
|
||||||
-- source include/have_query_cache.inc
|
-- source include/have_query_cache.inc
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user