Fix a debug assertion caused by a missing DBUG_RETURN macro.
This commit is contained in:
parent
0654c94ca2
commit
94c79b37a0
@ -9235,7 +9235,7 @@ acl_authenticate(THD *thd, uint connect_errors, uint com_change_user_pkt_len)
|
|||||||
3. the server checks the password.
|
3. the server checks the password.
|
||||||
*/
|
*/
|
||||||
static int native_password_authenticate(MYSQL_PLUGIN_VIO *vio,
|
static int native_password_authenticate(MYSQL_PLUGIN_VIO *vio,
|
||||||
MYSQL_SERVER_AUTH_INFO *info)
|
MYSQL_SERVER_AUTH_INFO *info)
|
||||||
{
|
{
|
||||||
uchar *pkt;
|
uchar *pkt;
|
||||||
int pkt_len;
|
int pkt_len;
|
||||||
@ -9249,7 +9249,7 @@ static int native_password_authenticate(MYSQL_PLUGIN_VIO *vio,
|
|||||||
|
|
||||||
/* send it to the client */
|
/* send it to the client */
|
||||||
if (mpvio->write_packet(mpvio, (uchar*) mpvio->scramble, SCRAMBLE_LENGTH + 1))
|
if (mpvio->write_packet(mpvio, (uchar*) mpvio->scramble, SCRAMBLE_LENGTH + 1))
|
||||||
return CR_ERROR;
|
DBUG_RETURN(CR_ERROR);
|
||||||
|
|
||||||
/* reply and authenticate */
|
/* reply and authenticate */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user