mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
fulltext+const_table bug fixed
mysql-test/r/fulltext.result: test added mysql-test/t/fulltext.test: test added sql/item_func.cc: fulltext+const_table problem fixed once and forever sql/item_func.h: fulltext+const_table problem fixed once and forever sql/sql_select.cc: fulltext+const_table problem fixed once and forever sql/table.h: fulltext+const_table problem fixed once and forever
This commit is contained in:
@@ -982,7 +982,8 @@ make_join_statistics(JOIN *join,TABLE_LIST *tables,COND *conds,
|
||||
s->dependent=(table_map) 0;
|
||||
s->key_dependent=(table_map) 0;
|
||||
if ((table->system || table->file->records <= 1) && ! s->dependent &&
|
||||
!(table->file->option_flag() & HA_NOT_EXACT_COUNT))
|
||||
!(table->file->option_flag() & HA_NOT_EXACT_COUNT) &&
|
||||
!table->fulltext_searched)
|
||||
{
|
||||
set_position(join,const_count++,s,(KEYUSE*) 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user