summaryrefslogtreecommitdiff
path: root/sql/sql_cursor.cc
diff options
context:
space:
mode:
authordavi@buzz.(none) <>2008-02-20 23:30:29 -0200
committerdavi@buzz.(none) <>2008-02-20 23:30:29 -0200
commit919ccd91116987bd3a23fbab839adc492a1e7428 (patch)
tree5d96b46c6fb6969f598cf7fe5155eab1f96e6cee /sql/sql_cursor.cc
parentbf9142825dc921888a47c6443844ec3249e3d70f (diff)
downloadmariadb-git-919ccd91116987bd3a23fbab839adc492a1e7428.tar.gz
Post-merge fixes for bugs 34587 and 32265.
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 138116c9283..5c4e93d4c74 100644
--- a/sql/sql_cursor.cc
+++ b/sql/sql_cursor.cc
@@ -588,7 +588,7 @@ int Materialized_cursor::fill_item_list(THD *thd, List<Item> &send_fields)
end:
thd->restore_active_arena(this, &backup_arena);
/* Check for thd->is_error() in case of OOM */
- return rc || thd->net.report_error;
+ return rc || thd->is_error();
}
int Materialized_cursor::open(JOIN *join __attribute__((unused)))