Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
730f67a4
Commit
730f67a4
authored
Apr 04, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix have_debug_sync.inc to be more robust
(debug_sync value can have single quotes)
parent
33f3c93e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
mysql-test/include/have_debug_sync.inc
mysql-test/include/have_debug_sync.inc
+4
-5
mysql-test/r/have_debug_sync.require
mysql-test/r/have_debug_sync.require
+0
-2
No files found.
mysql-test/include/have_debug_sync.inc
View file @
730f67a4
--
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
;
}
mysql-test/r/have_debug_sync.require
deleted
100644 → 0
View file @
33f3c93e
debug_sync
1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment