polardbxengine/mysql-test/include/have_myisam.inc

10 lines
285 B
SQL

#
# Check if myisam is available by selecting from is.engines
# else skip the test, however do not change the default.
#
if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'myisam' AND support IN ('YES', 'DEFAULT', 'ENABLED')`)
{
--skip Test requires MyISAM.
}