diff options
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index f53ffb7f893..2228d725c98 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -7843,7 +7843,7 @@ static bool make_join_readinfo(JOIN *join, ulonglong options, uint no_jbuf_after) { uint i; - uint jcl; + uint jcl= 0; bool statistics= test(!(join->select_options & SELECT_DESCRIBE)); bool sorted= 1; uint first_sjm_table= MAX_TABLES; @@ -7862,8 +7862,8 @@ make_join_readinfo(JOIN *join, ulonglong options, uint no_jbuf_after) { JOIN_TAB *tab=join->join_tab+i; TABLE *table=tab->table; - bool icp_other_tables_ok; - bool idx_cond_fact_out; + bool icp_other_tables_ok= FALSE; + bool idx_cond_fact_out= FALSE; tab->read_record.table= table; tab->read_record.file=table->file; tab->read_record.unlock_row= rr_unlock_row; |