summaryrefslogtreecommitdiff
path: root/tests/bug25714.c
diff options
context:
space:
mode:
authorkaa@polly.(none) <>2007-11-22 14:39:07 +0300
committerkaa@polly.(none) <>2007-11-22 14:39:07 +0300
commitdd75ee18d43d140144f8d926266c7a5cfdfb25e5 (patch)
treeb9070d1d88813c45dbb89dca5a044e154980cc64 /tests/bug25714.c
parentccd8710958430a4345cb54efcddfd1c9aab4cf39 (diff)
parent82c4059fc917a9f205a63f2c38453ebd1de4e012 (diff)
downloadmariadb-git-dd75ee18d43d140144f8d926266c7a5cfdfb25e5.tar.gz
Merge polly.(none):/home/kaa/src/opt/bug32221/my50-bug31445
into polly.(none):/home/kaa/src/opt/bug32221/my51-bug31445
Diffstat (limited to 'tests/bug25714.c')
-rw-r--r--tests/bug25714.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/bug25714.c b/tests/bug25714.c
index 4782178e2f2..03d28f59aa4 100644
--- a/tests/bug25714.c
+++ b/tests/bug25714.c
@@ -29,8 +29,12 @@ int main (int argc, char **argv)
MY_INIT(argv[0]);
- if (argc != 2)
+ if (argc != 2 || !strcmp(argv[1], "--help"))
+ {
+ fprintf(stderr, "This program is a part of the MySQL test suite. "
+ "It is not intended to be executed directly by a user.\n");
return -1;
+ }
mysql_init(&conn);
if (!mysql_real_connect(