From 71137276c76de2f70ba9006a23e35c0fe18a374c Mon Sep 17 00:00:00 2001 From: Dave Gosselin Date: Tue, 14 Jan 2025 12:16:07 -0500 Subject: [PATCH] MDEV-35847 mariadb client --wait flag broken Wire up the --wait flag in the mariadb client. --- client/mysql.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mysql.cc b/client/mysql.cc index e7e44c929d80d..b35b8744c83dd 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -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},