Fix faulty select to check for existence of federated support

This commit is contained in:
unknown 2007-12-13 17:07:35 +01:00
commit 0b24697bac

View file

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