MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
have_blackhole.inc
1 if (!`SELECT count(*) FROM information_schema.engines WHERE
2  (support = 'YES' OR support = 'DEFAULT') AND
3  engine = 'blackhole'`){
4  skip Need blackhole engine;
5 }