summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <df@pippilotta.erinye.com>2007-08-28 15:22:14 +0200
committerunknown <df@pippilotta.erinye.com>2007-08-28 15:22:14 +0200
commita85d1b2e5e31f60b1ab4931e67d62d22ed8f37e2 (patch)
tree3fcf849a0a997286b6fe8de82be81150a720ce24 /libmysql
parent478fb4a14d4c76b43581e1aa7ed68d2b449bc79d (diff)
downloadmariadb-git-a85d1b2e5e31f60b1ab4931e67d62d22ed8f37e2.tar.gz
build fix for aix and others
libmysql/libmysql.c: build fix: DBUG_ENTER can't be this late
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c6
1 files changed, 3 insertions, 3 deletions
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;