diff options
author | davi@buzz.(none) <> | 2008-02-20 23:30:29 -0200 |
---|---|---|
committer | davi@buzz.(none) <> | 2008-02-20 23:30:29 -0200 |
commit | 919ccd91116987bd3a23fbab839adc492a1e7428 (patch) | |
tree | 5d96b46c6fb6969f598cf7fe5155eab1f96e6cee /sql/sql_cursor.cc | |
parent | bf9142825dc921888a47c6443844ec3249e3d70f (diff) | |
download | mariadb-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.cc | 2 |
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))) |