1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Backport of the fix for bug #49552 to 5.0-bugteam

This commit is contained in:
Georgi Kodinov
2010-02-25 16:57:15 +02:00
parent ca6ec790b4
commit e3d0b6d792
3 changed files with 29 additions and 2 deletions

View File

@@ -4009,9 +4009,9 @@ end_with_restore_list:
select_lex->where,
0, (ORDER *)NULL, (ORDER *)NULL, (Item *)NULL,
(ORDER *)NULL,
select_lex->options | thd->options |
(select_lex->options | thd->options |
SELECT_NO_JOIN_CACHE | SELECT_NO_UNLOCK |
OPTION_SETUP_TABLES_DONE,
OPTION_SETUP_TABLES_DONE) & ~OPTION_BUFFER_RESULT,
del_result, unit, select_lex);
res|= thd->net.report_error;
if (unlikely(res))