summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authortsmith@siva.hindu.god <>2007-03-06 14:47:26 -0700
committertsmith@siva.hindu.god <>2007-03-06 14:47:26 -0700
commit22ebbfef9125adf37f463c12d1fdb5e2dcdb5734 (patch)
treeec0f68f526c6961e49ca66a83a71d0c21e937568 /libmysql
parentab61d07a30b73e3446b6eab9536ba464a0d55f74 (diff)
downloadmariadb-git-22ebbfef9125adf37f463c12d1fdb5e2dcdb5734.tar.gz
Fix for bug #25595 "missing DBUG_RETURN in function "mysql_stat""
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 7e1ff92bce5..6d1ad868e93 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -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));
}