1
0
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:
unknown
2006-04-27 21:26:24 +02:00
parent 8d1230c6ad
commit 185c89c419
2 changed files with 4 additions and 10 deletions

View File

@@ -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 (@) {