mariadb/mysql-test/include/have_debug_sync.inc
unknown 490d2a4267 Previous change of have_debug_sync.inc broke non-debug builds.
Implement it in a different way that works on both release and debug
builds, and still uses --skip instead of --require.
2012-12-18 22:00:55 +01:00

4 lines
179 B
SQL

if (`SELECT COUNT(*) = 0 FROM information_schema.session_variables WHERE
variable_name = 'debug_sync' AND variable_value LIKE 'ON %'`) {
--skip Needs debug_sync enabled
}