1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fixed temporary table processing expresions of subqueries and removed wrong restrictions of field resolving (BUG#5326)

This commit is contained in:
bell@sanja.is.com.ua
2004-09-06 13:00:24 +03:00
parent ad6ad34b45
commit 5d42c492d6
6 changed files with 24 additions and 12 deletions

View File

@ -8466,6 +8466,8 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
}
}
else if ((pos->type() == Item::FUNC_ITEM ||
pos->type() == Item::SUBSELECT_ITEM ||
pos->type() == Item::CACHE_ITEM ||
pos->type() == Item::COND_ITEM) &&
!pos->with_sum_func)
{ // Save for send fields