From 22ebbfef9125adf37f463c12d1fdb5e2dcdb5734 Mon Sep 17 00:00:00 2001 From: "tsmith@siva.hindu.god" <> Date: Tue, 6 Mar 2007 14:47:26 -0700 Subject: Fix for bug #25595 "missing DBUG_RETURN in function "mysql_stat"" --- libmysql/libmysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmysql') 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)); } -- cgit v1.2.1