summaryrefslogtreecommitdiff
path: root/mysql-test/suite/federated
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2007-12-13 17:07:35 +0100
committerunknown <msvensson@shellback.(none)>2007-12-13 17:07:35 +0100
commit0b24697bac91d470ac8f22ed14fd1f475fb8e876 (patch)
tree267c4d504e7a6548181fee69b8bd3414570c124a /mysql-test/suite/federated
parentc2d82b6e517bb45a936ae58583f893bdd4aceca4 (diff)
downloadmariadb-git-0b24697bac91d470ac8f22ed14fd1f475fb8e876.tar.gz
Fix faulty select to check for existence of federated support
Diffstat (limited to 'mysql-test/suite/federated')
-rw-r--r--mysql-test/suite/federated/have_federated_db.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/suite/federated/have_federated_db.inc b/mysql-test/suite/federated/have_federated_db.inc
index 69cb20c46f0..81f49aaa48e 100644
--- a/mysql-test/suite/federated/have_federated_db.inc
+++ b/mysql-test/suite/federated/have_federated_db.inc
@@ -1,4 +1,6 @@
-if (`select (support = 'YES' or support = 'DEFAULT')=0 from information_schema.engines where engine = 'federated'`)
+if (!`SELECT count(*) FROM information_schema.engines WHERE
+ (support = 'YES' OR support = 'DEFAULT') AND
+ engine = 'federated'`)
{
skip Need federated engine;
}