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
d1d64ba5
Commit
d1d64ba5
authored
Mar 01, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.blaudden:/home/msvensson/mysql/mysql-4.1-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
parents
f5778fc7
c0fdf179
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
client/mysqltest.c
client/mysqltest.c
+6
-0
mysql-test/lib/mtr_misc.pl
mysql-test/lib/mtr_misc.pl
+6
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-1
No files found.
client/mysqltest.c
View file @
d1d64ba5
...
@@ -1694,12 +1694,14 @@ void do_exec(struct st_command *command)
...
@@ -1694,12 +1694,14 @@ void do_exec(struct st_command *command)
}
}
#ifdef __WIN__
#ifdef __WIN__
#ifndef USE_CYGWIN
/* Replace /dev/null with NUL */
/* Replace /dev/null with NUL */
while
(
replace
(
&
ds_cmd
,
"/dev/null"
,
9
,
"NUL"
,
3
)
==
0
)
while
(
replace
(
&
ds_cmd
,
"/dev/null"
,
9
,
"NUL"
,
3
)
==
0
)
;
;
/* Replace "closed stdout" with non existing output fd */
/* Replace "closed stdout" with non existing output fd */
while
(
replace
(
&
ds_cmd
,
">&-"
,
3
,
">&4"
,
3
)
==
0
)
while
(
replace
(
&
ds_cmd
,
">&-"
,
3
,
">&4"
,
3
)
==
0
)
;
;
#endif
#endif
#endif
DBUG_PRINT
(
"info"
,
(
"Executing '%s' as '%s'"
,
DBUG_PRINT
(
"info"
,
(
"Executing '%s' as '%s'"
,
...
@@ -1864,10 +1866,12 @@ void do_system(struct st_command *command)
...
@@ -1864,10 +1866,12 @@ void do_system(struct st_command *command)
do_eval
(
&
ds_cmd
,
command
->
first_argument
,
command
->
end
,
!
is_windows
);
do_eval
(
&
ds_cmd
,
command
->
first_argument
,
command
->
end
,
!
is_windows
);
#ifdef __WIN__
#ifdef __WIN__
#ifndef USE_CYGWIN
/* Replace /dev/null with NUL */
/* Replace /dev/null with NUL */
while
(
replace
(
&
ds_cmd
,
"/dev/null"
,
9
,
"NUL"
,
3
)
==
0
)
while
(
replace
(
&
ds_cmd
,
"/dev/null"
,
9
,
"NUL"
,
3
)
==
0
)
;
;
#endif
#endif
#endif
DBUG_PRINT
(
"info"
,
(
"running system command '%s' as '%s'"
,
DBUG_PRINT
(
"info"
,
(
"running system command '%s' as '%s'"
,
...
@@ -5954,7 +5958,9 @@ int main(int argc, char **argv)
...
@@ -5954,7 +5958,9 @@ int main(int argc, char **argv)
init_builtin_echo
();
init_builtin_echo
();
#ifdef __WIN__
#ifdef __WIN__
#ifndef USE_CYGWIN
is_windows
=
1
;
is_windows
=
1
;
#endif
init_tmp_sh_file
();
init_tmp_sh_file
();
init_win_path_patterns
();
init_win_path_patterns
();
#endif
#endif
...
...
mysql-test/lib/mtr_misc.pl
View file @
d1d64ba5
...
@@ -68,6 +68,12 @@ sub mtr_short_hostname () {
...
@@ -68,6 +68,12 @@ sub mtr_short_hostname () {
sub
mtr_native_path
($)
sub
mtr_native_path
($)
{
{
my
$path
=
shift
;
my
$path
=
shift
;
# MySQL version before 5.0 still use cygwin, no need
# to convert path
return
$path
if
(
$::mysql_version_id
<
50000
);
$path
=~
s/\//\\/g
$path
=~
s/\//\\/g
if
(
$::glob_win32
);
if
(
$::glob_win32
);
return
$path
;
return
$path
;
...
...
mysql-test/mysql-test-run.pl
View file @
d1d64ba5
...
@@ -3793,7 +3793,7 @@ sub mysqld_arguments ($$$$$) {
...
@@ -3793,7 +3793,7 @@ sub mysqld_arguments ($$$$$) {
if
(
$mysql_version_id
<=
50106
)
if
(
$mysql_version_id
<=
50106
)
{
{
# Force mysqld to use log files up until 5.1.6
# Force mysqld to use log files up until 5.1.6
mtr_add_arg
(
$args
,
"
%s--log=%s
",
$prefix
,
$
master
->
[
0
]
->
{'
path_mylog
'});
mtr_add_arg
(
$args
,
"
%s--log=%s
",
$prefix
,
$
slave
->
[
0
]
->
{'
path_mylog
'});
}
}
else
else
{
{
...
...
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