fix have_debug_sync.inc to be more robust
(debug_sync value can have single quotes)
This commit is contained in:
parent
33f3c93e6f
commit
730f67a43e
@ -1,5 +1,4 @@
|
||||
--require r/have_debug_sync.require
|
||||
disable_query_log;
|
||||
let $value= query_get_value(SHOW VARIABLES LIKE 'debug_sync', Value, 1);
|
||||
eval SELECT ('$value' LIKE 'ON %') AS debug_sync;
|
||||
enable_query_log;
|
||||
if (`select count(*) = 0 from information_schema.session_variables where variable_name = 'debug_sync' and variable_value like 'on %'`)
|
||||
{
|
||||
skip debug_sync is not available;
|
||||
}
|
||||
|
@ -1,2 +0,0 @@
|
||||
debug_sync
|
||||
1
|
Loading…
x
Reference in New Issue
Block a user