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
6efe4250
Commit
6efe4250
authored
Oct 11, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for embedded server test
client/mysqltest.c: Fix typo
parent
326f9df2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
client/mysqltest.c
client/mysqltest.c
+1
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+14
-4
No files found.
client/mysqltest.c
View file @
6efe4250
...
...
@@ -1433,7 +1433,7 @@ void do_source(struct st_command *command)
#ifdef __WIN__
/* Variables used for tem
up
rary sh files used for emulating Unix on Windows */
/* Variables used for tem
po
rary sh files used for emulating Unix on Windows */
char
tmp_sh_name
[
64
],
tmp_sh_cmd
[
70
];
void
init_tmp_sh_file
()
...
...
mysql-test/mysql-test-run.pl
View file @
6efe4250
...
...
@@ -1418,7 +1418,7 @@ sub executable_setup () {
{
$exe_mysql_client_test
=
mtr_exe_exists
("
$glob_basedir
/libmysqld/examples/mysql_client_test_embedded
",
"
$
glob_basedir
/tests/mysql
test_embedded
");
"
$
path_client_bindir
/mysql_client_
test_embedded
");
}
else
{
...
...
@@ -3107,7 +3107,7 @@ sub mysqld_arguments ($$$$$) {
$prefix
=
"
--server-arg=
";
}
else
{
# We can't pass embedded server --no-defaults
mtr_add_arg
(
$args
,
"
%s--no-defaults
",
$prefix
);
mtr_add_arg
(
$args
,
"
--no-defaults
"
);
}
mtr_add_arg
(
$args
,
"
%s--console
",
$prefix
);
...
...
@@ -3529,7 +3529,12 @@ sub run_testcase_need_master_restart($)
# We try to find out if we are to restart the master(s)
my
$do_restart
=
0
;
# Assumes we don't have to
if
(
$tinfo
->
{'
master_sh
'}
)
if
(
$glob_use_embedded_server
)
{
mtr_verbose
("
Never start or restart for embedded server
");
return
$do_restart
;
}
elsif
(
$tinfo
->
{'
master_sh
'}
)
{
$do_restart
=
1
;
# Always restart if script to run
mtr_verbose
("
Restart master: Always restart if script to run
");
...
...
@@ -3591,7 +3596,12 @@ sub run_testcase_need_slave_restart($)
# We try to find out if we are to restart the slaves
my
$do_slave_restart
=
0
;
# Assumes we don't have to
if
(
$max_slave_num
==
0
)
if
(
$glob_use_embedded_server
)
{
mtr_verbose
("
Never start or restart for embedded server
");
return
$do_slave_restart
;
}
elsif
(
$max_slave_num
==
0
)
{
mtr_verbose
("
Skip slave restart: No testcase use slaves
");
}
...
...
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