1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

mysql-test/mysql-test-run.pl : Output the usage error if one is given. (Found when fixing bug#20303)

mysql-test/mysql-test-run.pl:
  Found when fixing bug#20303: The "usage()" function ignored the message it was given,
  so we got no real indication about the problem. Print it if one is given.
This commit is contained in:
unknown
2006-06-08 19:55:22 +02:00
parent d0d69b7676
commit f32d05f516

View File

@ -2459,6 +2459,13 @@ sub valgrind_arguments {
##############################################################################
sub usage ($) {
my $message= shift;
if ( $message )
{
print STDERR "$message \n";
}
print STDERR <<HERE;
mysql-test-run [ OPTIONS ] [ TESTCASE ]