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
1f13733b
Commit
1f13733b
authored
Nov 10, 2013
by
Elena Stepanova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-5272 MTR/mysqltest overlays for included files do not work on Windows
Modified according to the review comment
parent
700397a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
client/mysqltest.cc
client/mysqltest.cc
+4
-3
No files found.
client/mysqltest.cc
View file @
1f13733b
...
@@ -2992,9 +2992,6 @@ void open_file(const char *name)
...
@@ -2992,9 +2992,6 @@ void open_file(const char *name)
char
buff
[
FN_REFLEN
];
char
buff
[
FN_REFLEN
];
size_t
length
;
size_t
length
;
const
char
*
curname
=
cur_file
->
file_name
;
const
char
*
curname
=
cur_file
->
file_name
;
#ifdef __WIN__
fix_win_paths
(
curname
,
sizeof
(
curname
));
#endif
DBUG_ENTER
(
"open_file"
);
DBUG_ENTER
(
"open_file"
);
DBUG_PRINT
(
"enter"
,
(
"name: %s"
,
name
));
DBUG_PRINT
(
"enter"
,
(
"name: %s"
,
name
));
...
@@ -3037,6 +3034,10 @@ void open_file(const char *name)
...
@@ -3037,6 +3034,10 @@ void open_file(const char *name)
5.try in basedir
5.try in basedir
*/
*/
#ifdef __WIN__
fix_win_paths
(
curname
,
sizeof
(
curname
));
#endif
bool
in_overlay
=
opt_overlay_dir
&&
bool
in_overlay
=
opt_overlay_dir
&&
!
strncmp
(
curname
,
opt_overlay_dir
,
overlay_dir_len
);
!
strncmp
(
curname
,
opt_overlay_dir
,
overlay_dir_len
);
bool
in_suiteir
=
opt_overlay_dir
&&
!
in_overlay
&&
bool
in_suiteir
=
opt_overlay_dir
&&
!
in_overlay
&&
...
...
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