diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2017-06-27 12:26:38 +0300 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2017-06-28 15:23:36 +0300 |
commit | 23edc7c88f29d7bee01f39f1a58f4ada05f724c3 (patch) | |
tree | 4044cd44b1f6abe7c99f431b5417de95cee8249f /support-files | |
parent | 90038693903044bbbf7946ac128c3757ad33d7ba (diff) | |
download | mariadb-git-23edc7c88f29d7bee01f39f1a58f4ada05f724c3.tar.gz |
MDEV-13186: main.win failure post MDEV-12336
During statement preparation st_order::item gets set to a value in
ref_ptr_array. During statement execution we were overriding that value,
causing subsequent checks for window functions to return true.
Whenever we do any setting from ref_ptr_array, make sure to always
store the value in all_fields as well.
For function items containing window functions, as MDEV-12336 has
discovered, we don't need to create a separate Item_direct_ref or
Item_aggregate_ref as they will be computed directly from the top-level
item once the window function argument columns are computed.
Diffstat (limited to 'support-files')
0 files changed, 0 insertions, 0 deletions