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