Commit 7d109953 authored by serg@serg.mysql.com's avatar serg@serg.mysql.com
Browse files

one more ft+const bug fixed

parent eaf8a2f9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1114,7 +1114,8 @@ make_join_statistics(JOIN *join,TABLE_LIST *tables,COND *conds,
	  } while (keyuse->table == table && keyuse->key == key);

	  if (eq_part == PREV_BITS(uint,table->key_info[key].key_parts) &&
	      (table->key_info[key].flags & HA_NOSAME))
	      (table->key_info[key].flags & HA_NOSAME) &&
              !table->fulltext_searched)
	  {
	    if (const_ref == eq_part)
	    {					// Found everything for ref.