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
693465a6
Commit
693465a6
authored
Oct 04, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Look for mysqlslap from 5.1, it's also available on windows
parent
4e75b447
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+14
-13
No files found.
mysql-test/mysql-test-run.pl
View file @
693465a6
...
...
@@ -1307,6 +1307,10 @@ sub executable_setup () {
$exe_mysqlbinlog
=
mtr_exe_exists
("
$path_client_bindir
/mysqlbinlog
");
$exe_mysqladmin
=
mtr_exe_exists
("
$path_client_bindir
/mysqladmin
");
$exe_mysql
=
mtr_exe_exists
("
$path_client_bindir
/mysql
");
if
(
$mysql_version_id
>=
50100
)
{
$exe_mysqlslap
=
mtr_exe_exists
("
$path_client_bindir
/mysqlslap
");
}
# Look for mysql_fix_system_table script
$exe_mysql_fix_system_tables
=
...
...
@@ -1540,21 +1544,18 @@ sub environment_setup () {
# ----------------------------------------------------
# Setup env so childs can execute mysqlslap
# ----------------------------------------------------
unless
(
$glob_win32
)
{
my
$cmdline_mysqlslap
=
"
$exe_mysqlslap
-uroot
"
.
"
--port=
$master
->[0]->{'port'}
"
.
"
--socket=
$master
->[0]->{'path_sock'} --password=
"
.
"
--lock-directory=
$opt_tmpdir
";
my
$cmdline_mysqlslap
=
"
$exe_mysqlslap
-uroot
"
.
"
--port=
$master
->[0]->{'port'}
"
.
"
--socket=
$master
->[0]->{'path_sock'} --password=
"
.
"
--lock-directory=
$opt_tmpdir
";
if
(
$opt_debug
)
{
$cmdline_mysqlslap
.=
"
--debug=d:t:A,
$path_vardir_trace
/log/mysqlslap.trace
";
}
$ENV
{'
MYSQL_SLAP
'}
=
$cmdline_mysqlslap
;
if
(
$opt_debug
)
{
$cmdline_mysqlslap
.=
"
--debug=d:t:A,
$path_vardir_trace
/log/mysqlslap.trace
";
}
$ENV
{'
MYSQL_SLAP
'}
=
$cmdline_mysqlslap
;
# ----------------------------------------------------
# Setup env so childs can execute mysqlimport
...
...
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