summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <df@pippilotta.erinye.com>2007-09-04 10:54:32 +0200
committerunknown <df@pippilotta.erinye.com>2007-09-04 10:54:32 +0200
commitce845ef740ce9989fa2f599f52c3fe5ef704c0b5 (patch)
treed1bc1003f8d381da2a66dbf48a4a838fb5762068 /libmysql
parent25928276ac389cc47fa04e2e688c4cf86f191ec5 (diff)
parent0ec2e69d7fd96f30f1bd2346d8d799ffb4f09b81 (diff)
downloadmariadb-git-ce845ef740ce9989fa2f599f52c3fe5ef704c0b5.tar.gz
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build-work BitKeeper/deleted/.del-ha_blackhole.cc~727c69ef7846623a: Auto merged libmysql/libmysql.c: Auto merged mysql-test/include/have_bug25714.inc: Auto merged sql/CMakeLists.txt: Auto merged sql/sql_base.cc: Auto merged sql/sql_cache.cc: Auto merged configure.in: null-merge BitKeeper/deleted/.del-net_serv.cc: Auto merged BitKeeper/deleted/.del-pack.c: Auto merged BitKeeper/deleted/.del-password.c: Auto merged BitKeeper/deleted/.del-sql_state.c: Auto merged
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index c8e2d48873f..6b9284e7802 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -4677,15 +4677,16 @@ int cli_read_binary_rows(MYSQL_STMT *stmt)
MYSQL_DATA *result= &stmt->result;
MYSQL_ROWS *cur, **prev_ptr= &result->data;
NET *net;
+ DBUG_ENTER("cli_read_binary_rows");
+ 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;