diff options
author | Igor Babaev <igor@askmonty.org> | 2016-09-06 10:05:36 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2016-09-06 10:05:36 -0700 |
commit | 2d36e5aa38b6943d194e1696761cf357e7d09cca (patch) | |
tree | 2832787d1bb26a057be47bb89aed9589844cb66b /sql/sql_union.cc | |
parent | 225440047d145bbe6a92bff05c5d4aa33e0aca91 (diff) | |
download | mariadb-git-2d36e5aa38b6943d194e1696761cf357e7d09cca.tar.gz |
Fixed bug mdev-10736 that caused crashes.
The bug manifested itself for recursive definitions that
used anchors over tables with blobs.
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r-- | sql/sql_union.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc index a0499f2997d..854ebb99ef2 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -237,12 +237,6 @@ select_union_recursive::create_result_table(THD *thd_arg, for (uint i=0; i < table->s->fields; i++) rec_table->field[i]->flags &= ~PART_KEY_FLAG; - if (create_table) - { - rec_table->file->extra(HA_EXTRA_WRITE_CACHE); - rec_table->file->extra(HA_EXTRA_IGNORE_DUP_KEY); - } - if (rec_tables.push_back(rec_table)) return true; |