diff options
author | unknown <timour@askmonty.org> | 2011-01-18 19:15:55 +0200 |
---|---|---|
committer | unknown <timour@askmonty.org> | 2011-01-18 19:15:55 +0200 |
commit | 2038256bede201f025cac384a9043627a83afd5d (patch) | |
tree | a819a4aa7bf67b6919e596086689f58446e6d1b4 /sql/item.cc | |
parent | 5c4e64a574b01a26eb95b6676874060cdbbb6193 (diff) | |
download | mariadb-git-2038256bede201f025cac384a9043627a83afd5d.tar.gz |
Fix LP BUG#704337
Analysis:
The cause for the failing assert was that between preparation
and execution of a DELETE prepared statement, the server reverted
back all changes of the item tree. Since the substitution of
Item_in_subselect by an Item_in_optimizer was recorded via
change_item_tree, thus the rollback of the item tree affected
the substitution as well. As a result the execution of the PS
called Item_in_subselect::val_int(), which was never supposed
to be called.
Solution:
Replace change_item_tree with assignment. This is OK because
the Item objects used for substitution are created in PS memory.
Diffstat (limited to 'sql/item.cc')
0 files changed, 0 insertions, 0 deletions