mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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:
@@ -335,10 +335,10 @@ add_query(const char *q)
|
||||
|
||||
|
||||
static my_bool
|
||||
handle_option(int optid, const struct my_option *opt __attribute__((unused)),
|
||||
char *arg)
|
||||
handle_option(const struct my_option *opt, char *arg,
|
||||
const char *filename __attribute__((unused)))
|
||||
{
|
||||
switch (optid)
|
||||
switch (opt->id)
|
||||
{
|
||||
case '?':
|
||||
printf("Usage: async_queries [OPTIONS] query ...\n");
|
||||
|
Reference in New Issue
Block a user