1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-7810 Wrong result on execution of a query as a PS (both 1st and further executions)

Alternative fix that doesn't cause view.test crash in --ps:
Remember when Item_ref was fixed right in the constructor
and did not have a full Item_ref::fix_fields() call. Later
in PS/SP, after Item_ref::cleanup, we use this knowledge
to avoid doing full fix_fields() for items that were never
supposed to be fix_field'ed.

Simplify the test case.
This commit is contained in:
Sergei Golubchik
2015-07-31 10:13:01 +02:00
parent 2721d69f79
commit 4d5772c578
7 changed files with 18 additions and 64 deletions

View File

@ -6936,6 +6936,8 @@ find_field_in_tables(THD *thd, Item_ident *item,
return found;
}
}
else
item->can_be_depended= TRUE;
if (db && lower_case_table_names)
{