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
c2937a31
Commit
c2937a31
authored
Jan 04, 2006
by
knielsen@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/usr/local/mysql/mysql-5.0-qnxtestsock
into mysql.com:/usr/local/mysql/mysql-5.1-new
parents
a410de98
3524b800
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+14
-8
No files found.
mysql-test/mysql-test-run.pl
View file @
c2937a31
...
@@ -805,6 +805,12 @@ sub command_line_setup () {
...
@@ -805,6 +805,12 @@ sub command_line_setup () {
}
}
}
}
# On QNX, /tmp/dir/master.sock and /tmp/dir//master.sock seem to be
# considered different, so avoid the extra slash (/) in the socket
# paths.
my
$sockdir
=
$opt_tmpdir
;
$sockdir
=~
s|/+$||
;
# Put this into a hash, will be a C struct
# Put this into a hash, will be a C struct
$master
->
[
0
]
=
$master
->
[
0
]
=
...
@@ -813,7 +819,7 @@ sub command_line_setup () {
...
@@ -813,7 +819,7 @@ sub command_line_setup () {
path_myerr
=>
"
$opt_vardir
/log/master.err
",
path_myerr
=>
"
$opt_vardir
/log/master.err
",
path_mylog
=>
"
$opt_vardir
/log/master.log
",
path_mylog
=>
"
$opt_vardir
/log/master.log
",
path_mypid
=>
"
$opt_vardir
/run/master.pid
",
path_mypid
=>
"
$opt_vardir
/run/master.pid
",
path_mysock
=>
"
$
opt_tmp
dir
/master.sock
",
path_mysock
=>
"
$
sock
dir
/master.sock
",
path_myport
=>
$opt_master_myport
,
path_myport
=>
$opt_master_myport
,
start_timeout
=>
400
,
# enough time create innodb tables
start_timeout
=>
400
,
# enough time create innodb tables
...
@@ -826,7 +832,7 @@ sub command_line_setup () {
...
@@ -826,7 +832,7 @@ sub command_line_setup () {
path_myerr
=>
"
$opt_vardir
/log/master1.err
",
path_myerr
=>
"
$opt_vardir
/log/master1.err
",
path_mylog
=>
"
$opt_vardir
/log/master1.log
",
path_mylog
=>
"
$opt_vardir
/log/master1.log
",
path_mypid
=>
"
$opt_vardir
/run/master1.pid
",
path_mypid
=>
"
$opt_vardir
/run/master1.pid
",
path_mysock
=>
"
$
opt_tmp
dir
/master1.sock
",
path_mysock
=>
"
$
sock
dir
/master1.sock
",
path_myport
=>
$opt_master_myport
+
1
,
path_myport
=>
$opt_master_myport
+
1
,
start_timeout
=>
400
,
# enough time create innodb tables
start_timeout
=>
400
,
# enough time create innodb tables
};
};
...
@@ -837,7 +843,7 @@ sub command_line_setup () {
...
@@ -837,7 +843,7 @@ sub command_line_setup () {
path_myerr
=>
"
$opt_vardir
/log/slave.err
",
path_myerr
=>
"
$opt_vardir
/log/slave.err
",
path_mylog
=>
"
$opt_vardir
/log/slave.log
",
path_mylog
=>
"
$opt_vardir
/log/slave.log
",
path_mypid
=>
"
$opt_vardir
/run/slave.pid
",
path_mypid
=>
"
$opt_vardir
/run/slave.pid
",
path_mysock
=>
"
$
opt_tmp
dir
/slave.sock
",
path_mysock
=>
"
$
sock
dir
/slave.sock
",
path_myport
=>
$opt_slave_myport
,
path_myport
=>
$opt_slave_myport
,
start_timeout
=>
400
,
start_timeout
=>
400
,
};
};
...
@@ -848,7 +854,7 @@ sub command_line_setup () {
...
@@ -848,7 +854,7 @@ sub command_line_setup () {
path_myerr
=>
"
$opt_vardir
/log/slave1.err
",
path_myerr
=>
"
$opt_vardir
/log/slave1.err
",
path_mylog
=>
"
$opt_vardir
/log/slave1.log
",
path_mylog
=>
"
$opt_vardir
/log/slave1.log
",
path_mypid
=>
"
$opt_vardir
/run/slave1.pid
",
path_mypid
=>
"
$opt_vardir
/run/slave1.pid
",
path_mysock
=>
"
$
opt_tmp
dir
/slave1.sock
",
path_mysock
=>
"
$
sock
dir
/slave1.sock
",
path_myport
=>
$opt_slave_myport
+
1
,
path_myport
=>
$opt_slave_myport
+
1
,
start_timeout
=>
300
,
start_timeout
=>
300
,
};
};
...
@@ -859,7 +865,7 @@ sub command_line_setup () {
...
@@ -859,7 +865,7 @@ sub command_line_setup () {
path_myerr
=>
"
$opt_vardir
/log/slave2.err
",
path_myerr
=>
"
$opt_vardir
/log/slave2.err
",
path_mylog
=>
"
$opt_vardir
/log/slave2.log
",
path_mylog
=>
"
$opt_vardir
/log/slave2.log
",
path_mypid
=>
"
$opt_vardir
/run/slave2.pid
",
path_mypid
=>
"
$opt_vardir
/run/slave2.pid
",
path_mysock
=>
"
$
opt_tmp
dir
/slave2.sock
",
path_mysock
=>
"
$
sock
dir
/slave2.sock
",
path_myport
=>
$opt_slave_myport
+
2
,
path_myport
=>
$opt_slave_myport
+
2
,
start_timeout
=>
300
,
start_timeout
=>
300
,
};
};
...
@@ -869,7 +875,7 @@ sub command_line_setup () {
...
@@ -869,7 +875,7 @@ sub command_line_setup () {
path_err
=>
"
$opt_vardir
/log/im.err
",
path_err
=>
"
$opt_vardir
/log/im.err
",
path_log
=>
"
$opt_vardir
/log/im.log
",
path_log
=>
"
$opt_vardir
/log/im.log
",
path_pid
=>
"
$opt_vardir
/run/im.pid
",
path_pid
=>
"
$opt_vardir
/run/im.pid
",
path_sock
=>
"
$
opt_tmp
dir
/im.sock
",
path_sock
=>
"
$
sock
dir
/im.sock
",
port
=>
$im_port
,
port
=>
$im_port
,
start_timeout
=>
$master
->
[
0
]
->
{'
start_timeout
'},
start_timeout
=>
$master
->
[
0
]
->
{'
start_timeout
'},
admin_login
=>
'
im_admin
',
admin_login
=>
'
im_admin
',
...
@@ -884,7 +890,7 @@ sub command_line_setup () {
...
@@ -884,7 +890,7 @@ sub command_line_setup () {
server_id
=>
1
,
server_id
=>
1
,
port
=>
$im_mysqld1_port
,
port
=>
$im_mysqld1_port
,
path_datadir
=>
"
$opt_vardir
/im_mysqld_1.data
",
path_datadir
=>
"
$opt_vardir
/im_mysqld_1.data
",
path_sock
=>
"
$
opt_tmp
dir
/mysqld_1.sock
",
path_sock
=>
"
$
sock
dir
/mysqld_1.sock
",
path_pid
=>
"
$opt_vardir
/run/mysqld_1.pid
",
path_pid
=>
"
$opt_vardir
/run/mysqld_1.pid
",
};
};
...
@@ -893,7 +899,7 @@ sub command_line_setup () {
...
@@ -893,7 +899,7 @@ sub command_line_setup () {
server_id
=>
2
,
server_id
=>
2
,
port
=>
$im_mysqld2_port
,
port
=>
$im_mysqld2_port
,
path_datadir
=>
"
$opt_vardir
/im_mysqld_2.data
",
path_datadir
=>
"
$opt_vardir
/im_mysqld_2.data
",
path_sock
=>
"
$
opt_tmp
dir
/mysqld_2.sock
",
path_sock
=>
"
$
sock
dir
/mysqld_2.sock
",
path_pid
=>
"
$opt_vardir
/run/mysqld_2.pid
",
path_pid
=>
"
$opt_vardir
/run/mysqld_2.pid
",
nonguarded
=>
1
,
nonguarded
=>
1
,
};
};
...
...
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