diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-01-12 20:13:41 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-01-12 20:13:41 +0100 |
commit | e4c61d263bd452200440f38284294170246c73b0 (patch) | |
tree | 3adad89520d0011fd22e8b905b5b67419ec9f7e3 /plugin | |
parent | a1e3fa93c74d50de3160545d3d9c18ca06dfcc7e (diff) | |
download | mariadb-git-e4c61d263bd452200440f38284294170246c73b0.tar.gz |
lp:901693 dialog.c:perform_dialog treats every password prompt as first
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/auth/dialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/auth/dialog.c b/plugin/auth/dialog.c index 24765c17d1c..6b54096f8ea 100644 --- a/plugin/auth/dialog.c +++ b/plugin/auth/dialog.c @@ -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); |