summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2016-06-24 12:01:22 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2016-06-24 12:01:22 -0400
commit14d62505d90f01eb6d81466c1d69fa38523c4d3e (patch)
tree98e08ad71dd605fdfbad22080be969ecae6747ce /extra
parent868c2ceb013e06c29ba37d4634f2d543b96539aa (diff)
parent9fc102b37ec45bf5a1010a9f660137304de482bc (diff)
downloadmariadb-git-14d62505d90f01eb6d81466c1d69fa38523c4d3e.tar.gz
Merge tag 'mariadb-10.0.26' into 10.0-galera
Diffstat (limited to 'extra')
-rw-r--r--extra/mysql_waitpid.c7
-rw-r--r--extra/yassl/src/log.cpp3
2 files changed, 6 insertions, 4 deletions
diff --git a/extra/mysql_waitpid.c b/extra/mysql_waitpid.c
index 7777da25aa1..5cdf1dedc27 100644
--- a/extra/mysql_waitpid.c
+++ b/extra/mysql_waitpid.c
@@ -50,10 +50,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
switch(optid) {
case 'V':
printf("%s version %s by Jani Tolonen\n", progname, VER);
- exit(-1);
+ exit(0);
case 'I':
case '?':
usage();
+ exit(0);
}
return 0;
}
@@ -69,7 +70,10 @@ int main(int argc, char *argv[])
exit(-1);
if (!argv[0] || !argv[1] || (pid= atoi(argv[0])) <= 0 ||
(t= atoi(argv[1])) <= 0)
+ {
usage();
+ exit(-1);
+ }
for (; t > 0; t--)
{
if (kill((pid_t) pid, sig))
@@ -100,5 +104,4 @@ void usage(void)
printf("integer arguments.\n\n");
printf("Options:\n");
my_print_help(my_long_options);
- exit(-1);
}
diff --git a/extra/yassl/src/log.cpp b/extra/yassl/src/log.cpp
index 13c68295747..c4be306a7b8 100644
--- a/extra/yassl/src/log.cpp
+++ b/extra/yassl/src/log.cpp
@@ -1,6 +1,5 @@
/*
- Copyright (C) 2000-2007 MySQL AB
- Use is subject to license terms
+ Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by