Commit 003784d6 authored by Sergei Golubchik's avatar Sergei Golubchik

lp:901693 dialog.c:perform_dialog treats every password prompt as first

parent 7b7ac76f
......@@ -290,6 +290,8 @@ static int perform_dialog(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
if (res)
return CR_ERROR;
first= 0;
/* repeat unless it was the last question */
} while ((cmd & 1) != 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment