Commit 490d2a42 authored by unknown's avatar unknown

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.
parent 6a742fc3
if (`select @@debug_sync not like 'ON %'`) {
--skip Needs a debug_sync enabled
if (`SELECT COUNT(*) = 0 FROM information_schema.session_variables WHERE
variable_name = 'debug_sync' AND variable_value LIKE 'ON %'`) {
--skip Needs debug_sync enabled
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment