summaryrefslogtreecommitdiff
path: root/sql/sql_cursor.cc
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2011-04-12 14:26:06 +0200
committerunknown <knielsen@knielsen-hq.org>2011-04-12 14:26:06 +0200
commitce55d37929fc91b476541d3a77336a44b20317ac (patch)
tree867bf056f51f0338af221431380445d7784b2c0e /sql/sql_cursor.cc
parentfcd29b78456a47b00763fe249bbee9456bfbf6bb (diff)
parent3a3a91ff051abe859589e33fab4b5588e325d55b (diff)
downloadmariadb-git-ce55d37929fc91b476541d3a77336a44b20317ac.tar.gz
Merge Mariadb 5.1->5.2
Diffstat (limited to 'sql/sql_cursor.cc')
-rw-r--r--sql/sql_cursor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_cursor.cc b/sql/sql_cursor.cc
index 77be6eaff34..2b01e43e406 100644
--- a/sql/sql_cursor.cc
+++ b/sql/sql_cursor.cc
@@ -662,7 +662,7 @@ void Materialized_cursor::fetch(ulong num_rows)
If network write failed (i.e. due to a closed socked),
the error has already been set. Just return.
*/
- if (result->send_data(item_list))
+ if (result->send_data(item_list) > 0)
return;
}