Fix faulty select to check for existence of blackhole support

This commit is contained in:
msvensson@shellback.(none) 2007-12-13 16:07:49 +01:00
parent f9fc83c290
commit 83ea6d49c5

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