Fix a debug assertion caused by a missing DBUG_RETURN macro.

sql/sql_acl.cc:
  Must use DBUG_RETURN in a function instrumented with DBUG_ENTER.
This commit is contained in:
Davi Arnaut 2010-11-17 19:02:48 -02:00
parent 36ab257491
commit c45458524c

View File

@ -9249,7 +9249,7 @@ static int native_password_authenticate(MYSQL_PLUGIN_VIO *vio,
/* send it to the client */
if (mpvio->write_packet(mpvio, (uchar*) mpvio->scramble, SCRAMBLE_LENGTH + 1))
return CR_ERROR;
DBUG_RETURN(CR_ERROR);
/* reply and authenticate */