summaryrefslogtreecommitdiff
path: root/storage/myisam/myisam_ftdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/myisam/myisam_ftdump.c')
-rw-r--r--storage/myisam/myisam_ftdump.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/storage/myisam/myisam_ftdump.c b/storage/myisam/myisam_ftdump.c
index 7ced701ed5b..63f40daad5c 100644
--- a/storage/myisam/myisam_ftdump.c
+++ b/storage/myisam/myisam_ftdump.c
@@ -22,7 +22,7 @@
static void usage();
static void complain(int val);
-static my_bool get_one_option(int, const struct my_option *, char *);
+static my_bool get_one_option(const struct my_option *, char *, const char *);
static int count=0, stats=0, dump=0, lstats=0;
static my_bool verbose;
@@ -228,10 +228,11 @@ err:
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 *argument __attribute__((unused)),
+ const char *filename __attribute__((unused)))
{
- switch(optid) {
+ switch(opt->id) {
case 'd':
dump=1;
complain(count || query);