From a85d1b2e5e31f60b1ab4931e67d62d22ed8f37e2 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 28 Aug 2007 15:22:14 +0200 Subject: build fix for aix and others libmysql/libmysql.c: build fix: DBUG_ENTER can't be this late --- libmysql/libmysql.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmysql') diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 85c56a7ea40..1c82a5152b4 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -4681,14 +4681,14 @@ int cli_read_binary_rows(MYSQL_STMT *stmt) MYSQL_ROWS *cur, **prev_ptr= &result->data; NET *net; + DBUG_ENTER("cli_read_binary_rows"); + if (!mysql) { set_stmt_error(stmt, CR_SERVER_LOST, unknown_sqlstate); - return 1; + DBUG_RETURN(1); } - DBUG_ENTER("cli_read_binary_rows"); - net = &mysql->net; mysql= mysql->last_used_con; -- cgit v1.2.1