From f217612fade6684c6003aea9a9bfc7ab41685ace Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 29 Sep 2019 16:30:57 +0200 Subject: MDEV-12684 Show what config file a sysvar got a value from change get_one_option() prototype to pass the filename and not to pass the redundant optid. --- extra/innochecksum.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extra/innochecksum.cc') diff --git a/extra/innochecksum.cc b/extra/innochecksum.cc index aa591de944e..f971fac20ec 100644 --- a/extra/innochecksum.cc +++ b/extra/innochecksum.cc @@ -1332,11 +1332,11 @@ static void usage(void) extern "C" my_bool innochecksum_get_one_option( - int optid, - const struct my_option *opt MY_ATTRIBUTE((unused)), - char *argument MY_ATTRIBUTE((unused))) + const struct my_option *opt, + char *argument MY_ATTRIBUTE((unused)), + const char *) { - switch (optid) { + switch (opt->id) { #ifndef DBUG_OFF case '#': dbug_setting = argument -- cgit v1.2.1