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
bb356127a3
commit
236affe7f9
@ -4213,7 +4213,7 @@ static int native_password_auth_client(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
|
|||||||
{
|
{
|
||||||
/* read the scramble */
|
/* read the scramble */
|
||||||
if ((pkt_len= vio->read_packet(vio, &pkt)) < 0)
|
if ((pkt_len= vio->read_packet(vio, &pkt)) < 0)
|
||||||
return CR_ERROR;
|
DBUG_RETURN(CR_ERROR);
|
||||||
|
|
||||||
if (pkt_len != SCRAMBLE_LENGTH + 1)
|
if (pkt_len != SCRAMBLE_LENGTH + 1)
|
||||||
DBUG_RETURN(CR_SERVER_HANDSHAKE_ERR);
|
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 */
|
/* read the scramble */
|
||||||
if ((pkt_len= vio->read_packet(vio, &pkt)) < 0)
|
if ((pkt_len= vio->read_packet(vio, &pkt)) < 0)
|
||||||
return CR_ERROR;
|
DBUG_RETURN(CR_ERROR);
|
||||||
|
|
||||||
if (pkt_len != SCRAMBLE_LENGTH_323 + 1 &&
|
if (pkt_len != SCRAMBLE_LENGTH_323 + 1 &&
|
||||||
pkt_len != SCRAMBLE_LENGTH + 1)
|
pkt_len != SCRAMBLE_LENGTH + 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user