summaryrefslogtreecommitdiff
path: root/sql/sql_cursor.cc
diff options
context:
space:
mode:
authorunknown <davi@buzz.(none)>2008-02-20 23:30:29 -0200
committerunknown <davi@buzz.(none)>2008-02-20 23:30:29 -0200
commit88421ee5038ebe83d448110c3386086c2bc71a1f (patch)
tree5d96b46c6fb6969f598cf7fe5155eab1f96e6cee /sql/sql_cursor.cc
parent96b4648b010add765d714d829b492aff6e69f1d2 (diff)
downloadmariadb-git-88421ee5038ebe83d448110c3386086c2bc71a1f.tar.gz
Post-merge fixes for bugs 34587 and 32265.
mysql-test/r/view.result: Drop created view. mysql-test/t/view.test: Update test result. sql/sql_cursor.cc: Fix compilation failure. tests/mysql_client_test.c: Manual merge.
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)))