summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.(none)>2007-09-27 08:48:39 +0200
committerunknown <msvensson@pilot.(none)>2007-09-27 08:48:39 +0200
commitd63f8305d86dff044def5c35168c4ae8c6a86fd9 (patch)
tree556167021018c28226aed088a8882913d0f74aa1 /libmysql
parent5ece0c9b445033c1e362e42a82ba97ea1da378ef (diff)
downloadmariadb-git-d63f8305d86dff044def5c35168c4ae8c6a86fd9.tar.gz
Move DBUG_ENTER to begining of function to avoid build failure with debug on windows
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 85c56a7ea40..14b1a682b49 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_ENTER("cli_read_binary_rows");
-
net = &mysql->net;
mysql= mysql->last_used_con;