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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
1273bc19
Commit
1273bc19
authored
Nov 21, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.1-maint
into shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
parents
0bfad0da
bca9a29e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
client/mysqltest.c
client/mysqltest.c
+11
-3
No files found.
client/mysqltest.c
View file @
1273bc19
...
...
@@ -4138,8 +4138,9 @@ void init_win_path_patterns()
/* List of string patterns to match in order to find paths */
const
char
*
paths
[]
=
{
"$MYSQL_TEST_DIR"
,
"$MYSQL_TMP_DIR"
,
"./test/"
,
0
};
int
num_paths
=
3
;
"$MYSQLTEST_VARDIR"
,
"./test/"
};
int
num_paths
=
sizeof
(
paths
)
/
sizeof
(
char
*
),
int
i
;
char
*
p
;
...
...
@@ -4159,6 +4160,13 @@ void init_win_path_patterns()
else
p
=
my_strdup
(
paths
[
i
],
MYF
(
MY_FAE
));
/* Don't insert zero length strings in patterns array */
if
(
strlen
(
p
)
==
0
)
{
my_free
(
p
,
MYF
(
0
));
continue
;
}
if
(
insert_dynamic
(
&
patterns
,
(
gptr
)
&
p
))
die
(
NullS
);
...
...
@@ -4208,7 +4216,7 @@ void fix_win_paths(const char *val, int len)
{
const
char
**
pattern
=
dynamic_element
(
&
patterns
,
i
,
const
char
**
);
DBUG_PRINT
(
"info"
,
(
"pattern: %s"
,
*
pattern
));
if
(
strlen
(
*
pattern
)
==
0
)
continue
;
/* Search for the path in string */
while
((
p
=
strstr
(
val
,
*
pattern
)))
{
...
...
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