diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2011-07-11 17:13:16 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2011-07-11 17:13:16 +0400 |
commit | 62cc4df4d36f027e0790a9a34720f0fa094c201b (patch) | |
tree | c43270bdf8baadb2ddbdf8f9a61f8f38e662d7a9 /mysql-test/t/negation_elimination.test | |
parent | 9e7495df836a93e610ccd1a9e9f6ce11930a7767 (diff) | |
download | mariadb-git-62cc4df4d36f027e0790a9a34720f0fa094c201b.tar.gz |
Alternate version of MySQL's fix for BUG#49453.
The cause of the crash is sj_nest->sj_subq_pred->unit->first_select()->item_list
contains "stale" items for the second execution. By "stale" I mean that they have
item->fixed==FALSE, and they are Item_field object instead of Item_direct_view_ref.
The solution is to use sj_nest->sj_subq_pred->unit->first_select()->ref_pointer_array.
Surprisingly, that array contains items that are ok.
Oracle team has introduced and is using NESTED_JOIN::sj_inner_exprs, but we go without that
and always copy the ref_pointer_array.
Diffstat (limited to 'mysql-test/t/negation_elimination.test')
0 files changed, 0 insertions, 0 deletions