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
8ce37feb
Commit
8ce37feb
authored
Sep 08, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix problem running mysql-test-run.pl when running in a clone not compiled with ndb support
parent
5ac62fd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
15 deletions
+10
-15
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+10
-15
No files found.
mysql-test/mysql-test-run.pl
View file @
8ce37feb
...
@@ -1333,7 +1333,8 @@ sub environment_setup () {
...
@@ -1333,7 +1333,8 @@ sub environment_setup () {
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
if
(
$opt_source_dist
)
if
(
$opt_source_dist
)
{
{
$extra_ld_library_paths
=
"
$glob_basedir
/libmysql/.libs/
";
$extra_ld_library_paths
=
"
$glob_basedir
/libmysql/.libs/
"
.
"
:
$glob_basedir
/libmysql_r/.libs/
";
}
}
else
else
{
{
...
@@ -1346,26 +1347,20 @@ sub environment_setup () {
...
@@ -1346,26 +1347,20 @@ sub environment_setup () {
$extra_ld_library_paths
.=
"
:
"
.
$extra_ld_library_paths
.=
"
:
"
.
(
$lib_udf_example
?
dirname
(
$lib_udf_example
)
:
"");
(
$lib_udf_example
?
dirname
(
$lib_udf_example
)
:
"");
$ENV
{'
LD_LIBRARY_PATH
'}
=
"
$extra_ld_library_paths
"
.
(
$ENV
{'
LD_LIBRARY_PATH
'}
?
"
:
$ENV
{'LD_LIBRARY_PATH'}
"
:
"");
$ENV
{'
DYLD_LIBRARY_PATH
'}
=
"
$extra_ld_library_paths
"
.
(
$ENV
{'
DYLD_LIBRARY_PATH
'}
?
"
:
$ENV
{'DYLD_LIBRARY_PATH'}
"
:
"");
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Add the path where libndbclient can be found
# Add the path where libndbclient can be found
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
$ENV
{'
LD_LIBRARY_PATH
'}
=
if
(
$opt_ndbcluster_supported
)
(
mtr_path_exists
("
$glob_basedir
/storage/ndb/src/.libs
")
?
"
$glob_basedir
/storage/ndb/src/.libs
"
:
"")
.
{
(
$ENV
{'
LD_LIBRARY_PATH
'}
?
"
:
$ENV
{'LD_LIBRARY_PATH'}
"
:
"");
$extra_ld_library_paths
.=
"
:
$glob_basedir
/storage/ndb/src/.libs
";
}
# --------------------------------------------------------------------------
# Add the path where libmysqlclient can be found
# --------------------------------------------------------------------------
$ENV
{'
LD_LIBRARY_PATH
'}
=
$ENV
{'
LD_LIBRARY_PATH
'}
=
(
mtr_path_exists
("
$glob_basedir
/libmysql_r/.libs
")
?
"
$glob_basedir
/libmysql_r/.libs
"
:
"")
.
"
$extra_ld_library_paths
"
.
(
$ENV
{'
LD_LIBRARY_PATH
'}
?
"
:
$ENV
{'LD_LIBRARY_PATH'}
"
:
"");
(
$ENV
{'
LD_LIBRARY_PATH
'}
?
"
:
$ENV
{'LD_LIBRARY_PATH'}
"
:
"");
$ENV
{'
DYLD_LIBRARY_PATH
'}
=
"
$extra_ld_library_paths
"
.
(
$ENV
{'
DYLD_LIBRARY_PATH
'}
?
"
:
$ENV
{'DYLD_LIBRARY_PATH'}
"
:
"");
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Also command lines in .opt files may contain env vars
# Also command lines in .opt files may contain env vars
...
...
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