diff options
author | Igor Babaev <igor@askmonty.org> | 2011-06-21 18:00:58 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2011-06-21 18:00:58 -0700 |
commit | e7578ac612f73039ea9b212de4c7bcaa8e7d874e (patch) | |
tree | 00619cd875c1c17069c6b5291371e420a9c4d54e /cmd-line-utils | |
parent | 44570d2b12c4898861a13b764bdc4bdf28c0dda4 (diff) | |
download | mariadb-git-e7578ac612f73039ea9b212de4c7bcaa8e7d874e.tar.gz |
Fixed LP bug #798621.
The patch for bugs 717577 and 724942 has missed to make adjustments for the
call item_equal->add_const(const_item, orig_field_item) in the function
check_simple_equality that builds multiple equality for a field and a constant.
As a result, when this field happens to be a view field and the corresponding
Item_field object F is wrapped in an Item_direct_view_ref object R the object
F is placed in the multiple equality instead of the object R.
A substitution of an equal item for F potentially can cause very serious
problems and in some cases can lead to crashes of the server.
Diffstat (limited to 'cmd-line-utils')
0 files changed, 0 insertions, 0 deletions