1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Post-merge fixes for bugs 34587 and 32265.

This commit is contained in:
davi@buzz.(none)
2008-02-20 23:30:29 -02:00
parent bf9142825d
commit 919ccd9111
4 changed files with 4 additions and 3 deletions

View File

@ -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)))