Commit 17116d51 authored by Sergey Petrunya's avatar Sergey Petrunya

Subquery optimizations: backport: enable disabled subquery code in BKA

parent 2e593af6
...@@ -282,13 +282,11 @@ typedef struct st_join_table { ...@@ -282,13 +282,11 @@ typedef struct st_join_table {
} }
bool check_rowid_field() bool check_rowid_field()
{ {
/* !!!NB igor: enable the code in this comment after backporting the SJ code
if (keep_current_rowid && !used_rowid_fields) if (keep_current_rowid && !used_rowid_fields)
{ {
used_rowid_fields= 1; used_rowid_fields= 1;
used_fieldlength+= table->file->ref_length; used_fieldlength+= table->file->ref_length;
} }
*/
return test(used_rowid_fields); return test(used_rowid_fields);
} }
bool is_inner_table_of_semi_join_with_first_match() bool is_inner_table_of_semi_join_with_first_match()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment