mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge rurik.mysql.com:/home/igor/mysql-5.0
into rurik.mysql.com:/home/igor/dev/mysql-5.0-1
This commit is contained in:
@ -2204,7 +2204,8 @@ make_join_statistics(JOIN *join,TABLE_LIST *tables,COND *conds,
|
||||
if (s->dependent & ~(found_const_table_map))
|
||||
continue;
|
||||
if (table->file->records <= 1L &&
|
||||
!(table->file->table_flags() & HA_NOT_EXACT_COUNT))
|
||||
!(table->file->table_flags() & HA_NOT_EXACT_COUNT) &&
|
||||
!table->pos_in_table_list->embedding)
|
||||
{ // system table
|
||||
int tmp= 0;
|
||||
s->type=JT_SYSTEM;
|
||||
|
Reference in New Issue
Block a user