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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
269c977a
Commit
269c977a
authored
Nov 03, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql-master-run does not need to start second mysqld with innodb, add --skip-innodb
parent
78c4faa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+6
-2
No files found.
mysql-test/mysql-test-run.sh
View file @
269c977a
...
@@ -994,9 +994,11 @@ start_master()
...
@@ -994,9 +994,11 @@ start_master()
if
[
-n
"
$1
"
]
;
then
if
[
-n
"
$1
"
]
;
then
id
=
`
$EXPR
$1
+ 101
`
;
id
=
`
$EXPR
$1
+ 101
`
;
this_master_myport
=
`
$EXPR
$MASTER_MYPORT
+
$1
`
this_master_myport
=
`
$EXPR
$MASTER_MYPORT
+
$1
`
NOT_FIRST_MASTER_EXTRA_OPTS
=
"--skip-innodb"
else
else
id
=
1
;
id
=
1
;
this_master_myport
=
$MASTER_MYPORT
this_master_myport
=
$MASTER_MYPORT
NOT_FIRST_MASTER_EXTRA_OPTS
=
""
fi
fi
if
[
-z
"
$DO_BENCH
"
]
if
[
-z
"
$DO_BENCH
"
]
then
then
...
@@ -1020,7 +1022,8 @@ start_master()
...
@@ -1020,7 +1022,8 @@ start_master()
--open-files-limit=1024
\
--open-files-limit=1024
\
$MASTER_40_ARGS
\
$MASTER_40_ARGS
\
$SMALL_SERVER
\
$SMALL_SERVER
\
$EXTRA_MASTER_OPT
$EXTRA_MASTER_MYSQLD_OPT
"
$EXTRA_MASTER_OPT
$EXTRA_MASTER_MYSQLD_OPT
\
$NOT_FIRST_MASTER_EXTRA_OPTS
"
else
else
master_args
=
"--no-defaults --log-bin=
$MYSQL_TEST_DIR
/var/log/master-bin
$1
\
master_args
=
"--no-defaults --log-bin=
$MYSQL_TEST_DIR
/var/log/master-bin
$1
\
--server-id=
$id
--rpl-recovery-rank=1
\
--server-id=
$id
--rpl-recovery-rank=1
\
...
@@ -1039,7 +1042,8 @@ start_master()
...
@@ -1039,7 +1042,8 @@ start_master()
--innodb_data_file_path=ibdata1:50M
\
--innodb_data_file_path=ibdata1:50M
\
$MASTER_40_ARGS
\
$MASTER_40_ARGS
\
$SMALL_SERVER
\
$SMALL_SERVER
\
$EXTRA_MASTER_OPT
$EXTRA_MASTER_MYSQLD_OPT
"
$EXTRA_MASTER_OPT
$EXTRA_MASTER_MYSQLD_OPT
\
$NOT_FIRST_MASTER_EXTRA_OPTS
"
fi
fi
CUR_MYERR
=
$MASTER_MYERR
CUR_MYERR
=
$MASTER_MYERR
...
...
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