mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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:
@@ -284,13 +284,13 @@ static void usage(void)
|
||||
|
||||
|
||||
static my_bool
|
||||
get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
||||
char *argument)
|
||||
get_one_option(const struct my_option *opt,
|
||||
char *argument, const char *filename __attribute__((unused)))
|
||||
{
|
||||
int orig_what_to_do= what_to_do;
|
||||
DBUG_ENTER("get_one_option");
|
||||
|
||||
switch(optid) {
|
||||
switch(opt->id) {
|
||||
case 'a':
|
||||
what_to_do = DO_ANALYZE;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user