Bug #57744: sql-common/client.c: Missing DBUG_RETURN macro
- added missing DBUG_RETURN - fixed whitespace according to coding style.
This commit is contained in:
parent
117c19c262
commit
8c5be01bff
@ -4213,7 +4213,7 @@ static int native_password_auth_client(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
|
||||
{
|
||||
/* read the scramble */
|
||||
if ((pkt_len= vio->read_packet(vio, &pkt)) < 0)
|
||||
return CR_ERROR;
|
||||
DBUG_RETURN(CR_ERROR);
|
||||
|
||||
if (pkt_len != SCRAMBLE_LENGTH + 1)
|
||||
DBUG_RETURN(CR_SERVER_HANDSHAKE_ERR);
|
||||
@ -4265,7 +4265,7 @@ static int old_password_auth_client(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
|
||||
{
|
||||
/* read the scramble */
|
||||
if ((pkt_len= vio->read_packet(vio, &pkt)) < 0)
|
||||
return CR_ERROR;
|
||||
DBUG_RETURN(CR_ERROR);
|
||||
|
||||
if (pkt_len != SCRAMBLE_LENGTH_323 + 1 &&
|
||||
pkt_len != SCRAMBLE_LENGTH + 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user