Skip to content

Commit

Permalink
MDEV-35847 mariadb client --wait flag broken
Browse files Browse the repository at this point in the history
Wire up the --wait flag in the mariadb client.
  • Loading branch information
DaveGosselin-MariaDB committed Jan 15, 2025
1 parent a5174aa commit 7113727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/mysql.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,7 @@ static struct my_option my_long_options[] =
GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
{"vertical", 'E', "Print the output of a query (rows) vertically.",
&vertical, &vertical, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
{"wait", 'w', "Wait and retry if connection is down.", 0, 0, 0, GET_NO_ARG,
{"wait", 'w', "Wait and retry if connection is down.", &wait_flag, 0, 0, GET_BOOL,
NO_ARG, 0, 0, 0, 0, 0, 0},
{"xml", 'X', "Produce XML output.", &opt_xml, &opt_xml, 0,
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
Expand Down

0 comments on commit 7113727

Please sign in to comment.