diff options
author | tsmith@siva.hindu.god <> | 2007-03-06 14:47:26 -0700 |
---|---|---|
committer | tsmith@siva.hindu.god <> | 2007-03-06 14:47:26 -0700 |
commit | 22ebbfef9125adf37f463c12d1fdb5e2dcdb5734 (patch) | |
tree | ec0f68f526c6961e49ca66a83a71d0c21e937568 /libmysql | |
parent | ab61d07a30b73e3446b6eab9536ba464a0d55f74 (diff) | |
download | mariadb-git-22ebbfef9125adf37f463c12d1fdb5e2dcdb5734.tar.gz |
Fix for bug #25595 "missing DBUG_RETURN in function "mysql_stat""
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 2 |
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)); } |