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
271d7178
Commit
271d7178
authored
Apr 20, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add mysql test run (from shell script) option to skip binlogs
parent
5cec74c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+15
-5
No files found.
mysql-test/mysql-test-run.pl
View file @
271d7178
...
@@ -321,6 +321,8 @@ our $opt_with_ndbcluster_slave;
...
@@ -321,6 +321,8 @@ our $opt_with_ndbcluster_slave;
our
$opt_with_ndbcluster_all
=
0
;
our
$opt_with_ndbcluster_all
=
0
;
our
$opt_with_ndbcluster_only
=
0
;
our
$opt_with_ndbcluster_only
=
0
;
our
$opt_ndb_extra_test
=
0
;
our
$opt_ndb_extra_test
=
0
;
our
$opt_skip_master_binlog
=
0
;
our
$opt_skip_slave_binlog
=
0
;
our
$exe_ndb_mgm
;
our
$exe_ndb_mgm
;
our
$path_ndb_tools_dir
;
our
$path_ndb_tools_dir
;
...
@@ -599,6 +601,8 @@ sub command_line_setup () {
...
@@ -599,6 +601,8 @@ sub command_line_setup () {
'
with-ndbcluster-all
'
=>
\
$opt_with_ndbcluster_all
,
'
with-ndbcluster-all
'
=>
\
$opt_with_ndbcluster_all
,
'
with-ndbcluster-only
'
=>
\
$opt_with_ndbcluster_only
,
'
with-ndbcluster-only
'
=>
\
$opt_with_ndbcluster_only
,
'
ndb-extra-test
'
=>
\
$opt_ndb_extra_test
,
'
ndb-extra-test
'
=>
\
$opt_ndb_extra_test
,
'
skip-master-binlog
'
=>
\
$opt_skip_master_binlog
,
'
skip-slave-binlog
'
=>
\
$opt_skip_slave_binlog
,
'
do-test=s
'
=>
\
$opt_do_test
,
'
do-test=s
'
=>
\
$opt_do_test
,
'
start-from=s
'
=>
\
$opt_start_from
,
'
start-from=s
'
=>
\
$opt_start_from
,
'
suite=s
'
=>
\
$opt_suite
,
'
suite=s
'
=>
\
$opt_suite
,
...
@@ -2563,8 +2567,11 @@ sub mysqld_arguments ($$$$$$) {
...
@@ -2563,8 +2567,11 @@ sub mysqld_arguments ($$$$$$) {
{
{
my
$id
=
$idx
>
0
?
$idx
+
101
:
1
;
my
$id
=
$idx
>
0
?
$idx
+
101
:
1
;
mtr_add_arg
(
$args
,
"
%s--log-bin=%s/log/master-bin%s
",
$prefix
,
if
(
!
$opt_skip_master_binlog
)
$opt_vardir
,
$sidx
);
{
mtr_add_arg
(
$args
,
"
%s--log-bin=%s/log/master-bin%s
",
$prefix
,
$opt_vardir
,
$sidx
);
}
mtr_add_arg
(
$args
,
"
%s--pid-file=%s
",
$prefix
,
mtr_add_arg
(
$args
,
"
%s--pid-file=%s
",
$prefix
,
$master
->
[
$idx
]
->
{'
path_mypid
'});
$master
->
[
$idx
]
->
{'
path_mypid
'});
mtr_add_arg
(
$args
,
"
%s--port=%d
",
$prefix
,
mtr_add_arg
(
$args
,
"
%s--port=%d
",
$prefix
,
...
@@ -2605,9 +2612,12 @@ sub mysqld_arguments ($$$$$$) {
...
@@ -2605,9 +2612,12 @@ sub mysqld_arguments ($$$$$$) {
# FIXME slave get this option twice?!
# FIXME slave get this option twice?!
mtr_add_arg
(
$args
,
"
%s--exit-info=256
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--exit-info=256
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--init-rpl-role=slave
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--init-rpl-role=slave
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--log-bin=%s/log/slave%s-bin
",
$prefix
,
if
(
!
$opt_skip_slave_binlog
)
$opt_vardir
,
$sidx
);
# FIXME use own dir for binlogs
{
mtr_add_arg
(
$args
,
"
%s--log-slave-updates
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--log-bin=%s/log/slave%s-bin
",
$prefix
,
$opt_vardir
,
$sidx
);
# FIXME use own dir for binlogs
mtr_add_arg
(
$args
,
"
%s--log-slave-updates
",
$prefix
);
}
# FIXME option duplicated for slave
# FIXME option duplicated for slave
mtr_add_arg
(
$args
,
"
%s--log=%s
",
$prefix
,
mtr_add_arg
(
$args
,
"
%s--log=%s
",
$prefix
,
$slave
->
[
$idx
]
->
{'
path_mylog
'});
$slave
->
[
$idx
]
->
{'
path_mylog
'});
...
...
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