Skip to content

Commit d3e8674

Browse files
author
Sreeharsha Ramanavarapu
committed
1 parent db50d3c commit d3e8674

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sql/sql_join_buffer.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
1+
/* Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
22
33
This program is free software; you can redistribute it and/or modify
44
it under the terms of the GNU General Public License as published by
@@ -754,6 +754,7 @@ int JOIN_CACHE_BKA::init()
754754

755755
tables= qep_tab - tab;
756756

757+
filter_virtual_gcol_base_cols();
757758
calc_record_fields();
758759

759760
/* Mark all fields that can be used as arguments for this key access */
@@ -865,6 +866,7 @@ int JOIN_CACHE_BKA::init()
865866
use_emb_key= check_emb_key_usage();
866867

867868
create_remaining_fields(FALSE);
869+
restore_virtual_gcol_base_cols();
868870
bitmap_clear_all(&qep_tab->table()->tmp_set);
869871

870872
set_constants();

0 commit comments

Comments
 (0)