diff options
author | Sergei Petrunia <sergey@mariadb.com> | 2022-12-28 21:26:45 +0300 |
---|---|---|
committer | Sergei Petrunia <sergey@mariadb.com> | 2022-12-28 21:26:45 +0300 |
commit | eea4a1a90e2ab55ae327f92016e3562131c5c6cf (patch) | |
tree | 3990dcffe84bf43d91fb571ea14f712e2370825a /sql/sql_union.cc | |
parent | 8742b0fe1bf9ef217b48ebd56a174a11e7b09959 (diff) | |
download | mariadb-git-bb-11.0-mdev30310-updated.tar.gz |
MDEV-30310: patch from Monty, a bit amendedbb-11.0-mdev30310-updated
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r-- | sql/sql_union.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc index 188f98aa7dd..ad3d9e6443f 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -354,8 +354,6 @@ select_unit::create_result_table(THD *thd_arg, List<Item> *column_types, return TRUE; table->keys_in_use_for_query.clear_all(); - for (uint i=0; i < table->s->fields; i++) - table->field[i]->flags &= ~(PART_KEY_FLAG | PART_INDIRECT_KEY_FLAG); if (create_table) { @@ -393,8 +391,6 @@ select_union_recursive::create_result_table(THD *thd_arg, return true; incr_table->keys_in_use_for_query.clear_all(); - for (uint i=0; i < table->s->fields; i++) - incr_table->field[i]->flags &= ~(PART_KEY_FLAG | PART_INDIRECT_KEY_FLAG); return false; } |