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
d610b721
Commit
d610b721
authored
Jan 08, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for windows patch to convert also in --replace
parent
5c1dba67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
client/mysqltest.c
client/mysqltest.c
+2
-3
No files found.
client/mysqltest.c
View file @
d610b721
...
...
@@ -7406,6 +7406,7 @@ void do_get_replace(struct st_command *command)
if
(
!*
from
)
die
(
"Wrong number of arguments to replace_result in '%s'"
,
command
->
query
);
IF_WIN
(
fix_win_paths
(
to
,
from
-
to
),
0
);
insert_pointer_name
(
&
from_array
,
to
);
to
=
get_string
(
&
buff
,
&
from
,
command
);
insert_pointer_name
(
&
to_array
,
to
);
...
...
@@ -8596,9 +8597,7 @@ void free_pointer_array(POINTER_ARRAY *pa)
void
replace_dynstr_append_mem
(
DYNAMIC_STRING
*
ds
,
const
char
*
val
,
int
len
)
{
#ifdef __WIN__
fix_win_paths
(
val
,
len
);
#endif
IF_WIN
(
fix_win_paths
(
val
,
len
),
0
);
if
(
glob_replace_regex
)
{
...
...
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