mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Return empty string if file does not exist
Set LD_LIBRARY_PATH and UDF_EXAMPLE_LIB from $lib_udf_example mysql-test/lib/mtr_misc.pl: Return empty string if file does not exist mysql-test/mysql-test-run.pl: Set LD_LIBRARY_PATH and UDF_EXAMPLE_LIB from $lib_udf_example variable
This commit is contained in:
@@ -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 (@) {
|
||||
|
||||
Reference in New Issue
Block a user