summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-09-23 20:17:46 +0300
committerMichael Widenius <monty@askmonty.org>2013-09-23 20:17:46 +0300
commitb722aae621cb2e4fc2f815292bce43cd5a73b342 (patch)
tree9bed95702bdaae6d7f16f44bf5408ecc2896120d /mysys
parent5f0c91998aaeb5b7e57bb0b304ce193edcaef1e1 (diff)
downloadmariadb-git-b722aae621cb2e4fc2f815292bce43cd5a73b342.tar.gz
Allow unique prefix for command line options, like any GNU program.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_getopt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mysys/my_getopt.c b/mysys/my_getopt.c
index 67e074e7e59..f4a0f58511b 100644
--- a/mysys/my_getopt.c
+++ b/mysys/my_getopt.c
@@ -869,12 +869,6 @@ static int findopt(char *optpat, uint length,
}
}
}
- if (is_prefix && count == 1)
- my_getopt_error_reporter(WARNING_LEVEL,
- "Using unique option prefix %.*s instead of %s "
- "is deprecated and will be removed in a future "
- "release. Please use the full name instead.",
- length, optpat, *ffname);
DBUG_RETURN(count);
}