diff options
author | kaa@mbp. <> | 2008-02-12 12:43:55 +0300 |
---|---|---|
committer | kaa@mbp. <> | 2008-02-12 12:43:55 +0300 |
commit | 97c105cc17b79ff8c2a55e0619a7c737e789f071 (patch) | |
tree | ef9ed0daaa725f68365be41c4274edd497d656c5 /mysql-test/t/range.test | |
parent | 6619db580d6b8f4dadd831062be04131e92d8d89 (diff) | |
download | mariadb-git-97c105cc17b79ff8c2a55e0619a7c737e789f071.tar.gz |
Fix for bug #33389: Selecting from a view into a table from within SP
or trigger crashes server
Under some circumstances a combination of VIEWs, subselects with outer
references and PS/SP/triggers could lead to use of uninitialized memory
and server crash as a result.
Fixed by changing the code in Item_field::fix_fields() so that in cases
when the field is a VIEW reference, we first check whether the field
is also an outer reference, and mark it appropriately before returning.
Diffstat (limited to 'mysql-test/t/range.test')
0 files changed, 0 insertions, 0 deletions