summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <tsmith@siva.hindu.god>2007-03-06 14:47:26 -0700
committerunknown <tsmith@siva.hindu.god>2007-03-06 14:47:26 -0700
commit9a1ec4d37637d3f97942bd94b18b5424867d39df (patch)
treeec0f68f526c6961e49ca66a83a71d0c21e937568 /libmysql
parentb9c36948f44b39cb2a9d4c80ea3bbb321ec1e045 (diff)
downloadmariadb-git-9a1ec4d37637d3f97942bd94b18b5424867d39df.tar.gz
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
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));
}