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
6aa775f3
Commit
6aa775f3
authored
Apr 27, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return empty string if file does not exist
Set LD_LIBRARY_PATH and UDF_EXAMPLE_LIB from $lib_udf_example
parent
e5004d13
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
mysql-test/lib/mtr_misc.pl
mysql-test/lib/mtr_misc.pl
+1
-8
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-2
No files found.
mysql-test/lib/mtr_misc.pl
View file @
6aa775f3
...
...
@@ -100,14 +100,7 @@ sub mtr_file_exists (@) {
{
return
$path
if
-
e
$path
;
}
if
(
@_
==
1
)
{
mtr_error
("
Could not find
$_
[0]
");
}
else
{
mtr_error
("
Could not find any of
"
.
join
("
",
@_
));
}
return
"";
}
sub
mtr_exe_exists
(@)
{
...
...
mysql-test/mysql-test-run.pl
View file @
6aa775f3
...
...
@@ -1150,7 +1150,7 @@ sub environment_setup () {
# Add the path where mysqld will find udf_example.so
# --------------------------------------------------------------------------
$ENV
{'
LD_LIBRARY_PATH
'}
=
"
$glob_basedir
/sql/.libs
"
.
(
$lib_udf_example
?
dirname
(
$lib_udf_example
)
:
"")
.
(
$ENV
{'
LD_LIBRARY_PATH
'}
?
"
:
$ENV
{'LD_LIBRARY_PATH'}
"
:
"");
...
...
@@ -2956,7 +2956,8 @@ sub run_mysqltest ($) {
$ENV
{'
MYSQL_CLIENT_TEST
'}
=
$cmdline_mysql_client_test
;
$ENV
{'
CHARSETSDIR
'}
=
$path_charsetsdir
;
$ENV
{'
MYSQL_MY_PRINT_DEFAULTS
'}
=
$exe_my_print_defaults
;
$ENV
{'
UDF_EXAMPLE_LIB
'}
=
basename
(
$lib_udf_example
);
$ENV
{'
UDF_EXAMPLE_LIB
'}
=
(
$lib_udf_example
?
basename
(
$lib_udf_example
)
:
"");
$ENV
{'
NDB_MGM
'}
=
$exe_ndb_mgm
;
$ENV
{'
NDB_BACKUP_DIR
'}
=
$path_ndb_data_dir
;
...
...
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