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
5491325c
Commit
5491325c
authored
Jun 24, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
parents
be3d7091
a01d1106
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
11 deletions
+20
-11
Makefile.am
Makefile.am
+3
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+16
-7
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+1
-1
No files found.
Makefile.am
View file @
5491325c
...
@@ -101,12 +101,12 @@ tags:
...
@@ -101,12 +101,12 @@ tags:
test
:
test
:
cd
mysql-test
;
\
cd
mysql-test
;
\
perl mysql-test-run.pl
&&
perl mysql-test-run.pl
--ps-protocol
./mysql-test-run
&&
./mysql-test-run
--ps-protocol
test-force
:
test-force
:
cd
mysql-test
;
\
cd
mysql-test
;
\
perl mysql-test-run.pl
--force
;
\
./mysql-test-run
--force
;
\
perl mysql-test-run.pl
--ps-protocol
--force
./mysql-test-run
--ps-protocol
--force
# Don't update the files from bitkeeper
# Don't update the files from bitkeeper
%
::
SCCS/s.%
%
::
SCCS/s.%
mysql-test/mysql-test-run.pl
View file @
5491325c
...
@@ -1554,11 +1554,12 @@ sub do_before_start_master ($$) {
...
@@ -1554,11 +1554,12 @@ sub do_before_start_master ($$) {
}
}
}
}
# FIXME only remove the ones that are tied to this master
# Remove old master.info and relay-log.info files
# Remove old master.info and relay-log.info files
unlink
("
$
opt_vardir
/master-data
/master.info
");
unlink
("
$
master
->[0]->{'path_myddir'}
/master.info
");
unlink
("
$
opt_vardir
/master-data
/relay-log.info
");
unlink
("
$
master
->[0]->{'path_myddir'}
/relay-log.info
");
unlink
("
$
opt_vardir
/master1-data
/master.info
");
unlink
("
$
master
->[1]->{'path_myddir'}
/master.info
");
unlink
("
$
opt_vardir
/master1-data
/relay-log.info
");
unlink
("
$
master
->[1]->{'path_myddir'}
/relay-log.info
");
# Run master initialization shell script if one exists
# Run master initialization shell script if one exists
if
(
$init_script
)
if
(
$init_script
)
...
@@ -1652,12 +1653,15 @@ sub mysqld_arguments ($$$$$) {
...
@@ -1652,12 +1653,15 @@ sub mysqld_arguments ($$$$$) {
if
(
$type
eq
'
master
'
)
if
(
$type
eq
'
master
'
)
{
{
mtr_add_arg
(
$args
,
"
%s--log-bin=%s/log/master-bin
",
$prefix
,
$opt_vardir
);
my
$id
=
$idx
>
0
?
$idx
+
101
:
1
;
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
,
$master
->
[
$idx
]
->
{'
path_myport
'});
$master
->
[
$idx
]
->
{'
path_myport
'});
mtr_add_arg
(
$args
,
"
%s--server-id=
1
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--server-id=
%d
",
$prefix
,
$id
);
mtr_add_arg
(
$args
,
"
%s--socket=%s
",
$prefix
,
mtr_add_arg
(
$args
,
"
%s--socket=%s
",
$prefix
,
$master
->
[
$idx
]
->
{'
path_mysock
'});
$master
->
[
$idx
]
->
{'
path_mysock
'});
mtr_add_arg
(
$args
,
"
%s--innodb_data_file_path=ibdata1:128M:autoextend
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--innodb_data_file_path=ibdata1:128M:autoextend
",
$prefix
);
...
@@ -1665,6 +1669,11 @@ sub mysqld_arguments ($$$$$) {
...
@@ -1665,6 +1669,11 @@ sub mysqld_arguments ($$$$$) {
mtr_add_arg
(
$args
,
"
%s--datadir=%s
",
$prefix
,
mtr_add_arg
(
$args
,
"
%s--datadir=%s
",
$prefix
,
$master
->
[
$idx
]
->
{'
path_myddir
'});
$master
->
[
$idx
]
->
{'
path_myddir
'});
if
(
$idx
>
0
)
{
mtr_add_arg
(
$args
,
"
%s--skip-innodb
",
$prefix
);
}
if
(
$opt_skip_ndbcluster
)
if
(
$opt_skip_ndbcluster
)
{
{
mtr_add_arg
(
$args
,
"
%s--skip-ndbcluster
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--skip-ndbcluster
",
$prefix
);
...
@@ -1674,7 +1683,7 @@ sub mysqld_arguments ($$$$$) {
...
@@ -1674,7 +1683,7 @@ sub mysqld_arguments ($$$$$) {
if
(
$type
eq
'
slave
'
)
if
(
$type
eq
'
slave
'
)
{
{
my
$slave_server_id
=
2
+
$idx
;
my
$slave_server_id
=
2
+
$idx
;
my
$slave_rpl_rank
=
$
idx
>
0
?
2
:
$
slave_server_id
;
my
$slave_rpl_rank
=
$slave_server_id
;
mtr_add_arg
(
$args
,
"
%s--datadir=%s
",
$prefix
,
mtr_add_arg
(
$args
,
"
%s--datadir=%s
",
$prefix
,
$slave
->
[
$idx
]
->
{'
path_myddir
'});
$slave
->
[
$idx
]
->
{'
path_myddir
'});
...
...
mysql-test/mysql-test-run.sh
View file @
5491325c
...
@@ -307,7 +307,7 @@ while test $# -gt 0; do
...
@@ -307,7 +307,7 @@ while test $# -gt 0; do
--ssl-ca=
$MYSQL_TEST_DIR
/std_data/cacert.pem
\
--ssl-ca=
$MYSQL_TEST_DIR
/std_data/cacert.pem
\
--ssl-cert=
$MYSQL_TEST_DIR
/std_data/server-cert.pem
\
--ssl-cert=
$MYSQL_TEST_DIR
/std_data/server-cert.pem
\
--ssl-key=
$MYSQL_TEST_DIR
/std_data/server-key.pem"
--ssl-key=
$MYSQL_TEST_DIR
/std_data/server-key.pem"
MYSQL_TEST_SSL_OPTS
=
"--ssl-ca=
$
BASEDIR
/SSL
/cacert.pem
\
MYSQL_TEST_SSL_OPTS
=
"--ssl-ca=
$
MYSQL_TEST_DIR
/std_data
/cacert.pem
\
--ssl-cert=
$MYSQL_TEST_DIR
/std_data/client-cert.pem
\
--ssl-cert=
$MYSQL_TEST_DIR
/std_data/client-cert.pem
\
--ssl-key=
$MYSQL_TEST_DIR
/std_data/client-key.pem"
;;
--ssl-key=
$MYSQL_TEST_DIR
/std_data/client-key.pem"
;;
--no-manager
|
--skip-manager
)
USE_MANAGER
=
0
;;
--no-manager
|
--skip-manager
)
USE_MANAGER
=
0
;;
...
...
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