summaryrefslogtreecommitdiff
path: root/mysql-test/t/negation_elimination.test
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-07-11 17:13:16 +0400
committerSergey Petrunya <psergey@askmonty.org>2011-07-11 17:13:16 +0400
commit62cc4df4d36f027e0790a9a34720f0fa094c201b (patch)
treec43270bdf8baadb2ddbdf8f9a61f8f38e662d7a9 /mysql-test/t/negation_elimination.test
parent9e7495df836a93e610ccd1a9e9f6ce11930a7767 (diff)
downloadmariadb-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