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
0bc42ce6
Commit
0bc42ce6
authored
Nov 30, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
late after-merge fix
mysql-test/mysql-test-run.pl: late after-merge fix: re-add MTR_BUILD_THREAD=auto
parent
32f06501
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+7
-1
No files found.
mysql-test/mysql-test-run.pl
View file @
0bc42ce6
...
@@ -1233,9 +1233,15 @@ sub command_line_setup () {
...
@@ -1233,9 +1233,15 @@ sub command_line_setup () {
# But a fairly safe range seems to be 5001 - 32767
# But a fairly safe range seems to be 5001 - 32767
#
#
sub
set_mtr_build_thread_ports
()
{
sub
set_mtr_build_thread_ports
(
$
)
{
my
$mtr_build_thread
=
shift
;
my
$mtr_build_thread
=
shift
;
if
(
lc
(
$mtr_build_thread
)
eq
'
auto
'
)
{
print
"
Requesting build thread...
";
$ENV
{'
MTR_BUILD_THREAD
'}
=
$mtr_build_thread
=
mtr_require_unique_id_and_wait
("
/tmp/mysql-test-ports
",
200
,
299
);
print
"
got
"
.
$mtr_build_thread
.
"
\n
";
}
# Up to two masters, up to three slaves
# Up to two masters, up to three slaves
$opt_master_myport
=
$mtr_build_thread
*
10
+
10000
;
# and 1
$opt_master_myport
=
$mtr_build_thread
*
10
+
10000
;
# and 1
$opt_slave_myport
=
$opt_master_myport
+
2
;
# and 3 4
$opt_slave_myport
=
$opt_master_myport
+
2
;
# and 3 4
...
...
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