1 2 3 4 5
if (`SELECT count(*) FROM information_schema.engines WHERE (support = 'YES' OR support = 'DEFAULT') AND engine = 'blackhole'`){ skip Blackhole engine enabled; }