Fix for bug #25595 "missing DBUG_RETURN in function "mysql_stat""
libmysql/libmysql.c: Fix for bug #25595 "missing DBUG_RETURN in function "mysql_stat"" Use DBUG_RETURN instead of return
This commit is contained in:
parent
b9c36948f4
commit
9a1ec4d376
@ -1367,7 +1367,7 @@ mysql_stat(MYSQL *mysql)
|
|||||||
{
|
{
|
||||||
DBUG_ENTER("mysql_stat");
|
DBUG_ENTER("mysql_stat");
|
||||||
if (simple_command(mysql,COM_STATISTICS,0,0,0))
|
if (simple_command(mysql,COM_STATISTICS,0,0,0))
|
||||||
return mysql->net.last_error;
|
DBUG_RETURN(mysql->net.last_error);
|
||||||
DBUG_RETURN((*mysql->methods->read_statistics)(mysql));
|
DBUG_RETURN((*mysql->methods->read_statistics)(mysql));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user