Commit 22ebbfef authored by tsmith@siva.hindu.god's avatar tsmith@siva.hindu.god

Fix for bug #25595 "missing DBUG_RETURN in function "mysql_stat""

parent ab61d07a
......@@ -1367,7 +1367,7 @@ mysql_stat(MYSQL *mysql)
{
DBUG_ENTER("mysql_stat");
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));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment