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
a1810201
Commit
a1810201
authored
Sep 11, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the mtr_file_exists function to detect if ndbapi_example is available
parent
d54cbe91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+2
-3
No files found.
mysql-test/mysql-test-run.pl
View file @
a1810201
...
@@ -1238,8 +1238,7 @@ sub executable_setup () {
...
@@ -1238,8 +1238,7 @@ sub executable_setup () {
"
/usr/bin/false
");
"
/usr/bin/false
");
$path_ndb_tools_dir
=
mtr_path_exists
("
$glob_basedir
/storage/ndb/tools
");
$path_ndb_tools_dir
=
mtr_path_exists
("
$glob_basedir
/storage/ndb/tools
");
$path_ndb_examples_dir
=
mtr_path_exists
("
$glob_basedir
/storage/ndb/ndbapi-examples
");
$path_ndb_examples_dir
=
mtr_path_exists
("
$glob_basedir
/storage/ndb/ndbapi-examples
");
$exe_ndb_example
=
mtr_exe_exists
("
$path_ndb_examples_dir
/ndbapi_simple/ndbapi_simple
",
$exe_ndb_example
=
mtr_file_exists
("
$path_ndb_examples_dir
/ndbapi_simple/ndbapi_simple
");
$exe_mysqld
);
$exe_ndb_mgm
=
"
$glob_basedir
/storage/ndb/src/mgmclient/ndb_mgm
";
$exe_ndb_mgm
=
"
$glob_basedir
/storage/ndb/src/mgmclient/ndb_mgm
";
$exe_ndb_waiter
=
"
$glob_basedir
/storage/ndb/tools/ndb_waiter
";
$exe_ndb_waiter
=
"
$glob_basedir
/storage/ndb/tools/ndb_waiter
";
$exe_ndbd
=
"
$glob_basedir
/storage/ndb/src/kernel/ndbd
";
$exe_ndbd
=
"
$glob_basedir
/storage/ndb/src/kernel/ndbd
";
...
@@ -1419,7 +1418,7 @@ sub environment_setup () {
...
@@ -1419,7 +1418,7 @@ sub environment_setup () {
$ENV
{'
NDB_CONNECTSTRING
'}
=
$opt_ndbconnectstring
;
$ENV
{'
NDB_CONNECTSTRING
'}
=
$opt_ndbconnectstring
;
$ENV
{'
NDB_EXAMPLES_DIR
'}
=
$path_ndb_examples_dir
;
$ENV
{'
NDB_EXAMPLES_DIR
'}
=
$path_ndb_examples_dir
;
$ENV
{'
MY_NDB_EXAMPLES_BINARY
'}
=
(
$exe_ndb_example
eq
"
$path_ndb_examples_dir
/ndbapi_simple/ndbapi_simple
")?
$exe_ndb_example:
""
;
$ENV
{'
MY_NDB_EXAMPLES_BINARY
'}
=
$exe_ndb_example
;
$ENV
{'
NDB_EXAMPLES_OUTPUT
'}
=
$file_ndb_testrun_log
;
$ENV
{'
NDB_EXAMPLES_OUTPUT
'}
=
$file_ndb_testrun_log
;
# ----------------------------------------------------
# ----------------------------------------------------
...
...
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