mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
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.
This commit is contained in:
parent
6a742fc3b1
commit
490d2a4267
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue