summaryrefslogtreecommitdiff
path: root/sql/event_queue.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2018-08-30 00:51:39 -0700
committerIgor Babaev <igor@askmonty.org>2018-08-30 00:51:39 -0700
commitb245023fe0bc6fa0bd6e2dfa9352b30b71d0d27d (patch)
tree9d2c9b82f63a87210d7becf6b0451263143b058f /sql/event_queue.h
parenta8bf27c7157374e3c1c4fa1b300ed6df195dda7b (diff)
downloadmariadb-git-b245023fe0bc6fa0bd6e2dfa9352b30b71d0d27d.tar.gz
MDEV-16992 Assertion `table_ref->table || table_ref->view' failed in
Field_iterator_table_ref::set_field_iterator Several functions that processed different prepare statements missed the DT_INIT flag in last parameter of the open_normal_and_derived_tables() calls. It made context analysis of derived tables dependent on the order in which the derived tables were processed by mysql_handle_derived(). This order was induced by the order of SELECTs in all_select_list. In 10.4 the order of SELECTs in all_select_list became different and lack of the DT_INIT flags in some open_normal_and_derived_tables() call became critical as some derived tables were not identified as such.
Diffstat (limited to 'sql/event_queue.h')
0 files changed, 0 insertions, 0 deletions