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
3a2e8ebe
Commit
3a2e8ebe
authored
Jan 28, 2006
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql-test-run.pl:
Aligned the MTR_BUILD_THREAD policy to shell version
parent
f1889724
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+13
-3
No files found.
mysql-test/mysql-test-run.pl
View file @
3a2e8ebe
...
...
@@ -463,11 +463,21 @@ sub command_line_setup () {
my
$opt_slave_myport
=
9308
;
$opt_ndbcluster_port
=
9350
;
#
# To make it easier for different devs to work on the same host,
# an environment variable can be used to control all ports. A small
# number is to be used, 0 - 16 or similar.
#
# Note the MASTER_MYPORT has to be set the same in all 4.x and 5.x
# versions of this script, else a 4.0 test run might conflict with a
# 5.1 test run, even if different MTR_BUILD_THREAD is used. This means
# all port numbers might not be used in this version of the script.
#
if
(
$ENV
{'
MTR_BUILD_THREAD
'}
)
{
$opt_master_myport
=
$ENV
{'
MTR_BUILD_THREAD
'}
*
40
+
812
0
;
$opt_slave_myport
=
$opt_master_myport
+
16
;
$opt_ndbcluster_port
=
$opt_master_myport
+
2
4
;
$opt_master_myport
=
$ENV
{'
MTR_BUILD_THREAD
'}
*
10
+
1000
0
;
$opt_slave_myport
=
$opt_master_myport
+
3
;
$opt_ndbcluster_port
=
$opt_master_myport
+
4
;
}
# Read the command line
...
...
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