mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
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.
This commit is contained in:
@ -78,12 +78,10 @@ static struct my_option my_long_options[]=
|
||||
|
||||
|
||||
static my_bool
|
||||
get_one_option(int optid,
|
||||
const struct my_option *opt __attribute__ ((unused)),
|
||||
char *argument __attribute__ ((unused)))
|
||||
get_one_option(const struct my_option *opt, char *, const char *)
|
||||
{
|
||||
DBUG_ENTER("get_one_option");
|
||||
switch (optid) {
|
||||
switch (opt->id) {
|
||||
case '?':
|
||||
printf("%s\n", USAGETEXT);
|
||||
my_print_help(my_long_options);
|
||||
|
Reference in New Issue
Block a user