Fix faulty select to check for existence of blackhole support

This commit is contained in:
unknown 2007-12-13 16:07:49 +01:00
parent eecb558d75
commit c2d82b6e51

View file

@ -1,3 +1,5 @@
if (`select (support = 'YES' or support = 'DEFAULT')=0 from information_schema.engines where engine = 'blackhole'`){
if (!`SELECT count(*) FROM information_schema.engines WHERE
(support = 'YES' OR support = 'DEFAULT') AND
engine = 'blackhole'`){
skip Need blackhole engine;
}