mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed cteate temporary field of subselect bug
mysql-test/r/subselect.result: test of cteate temporary field of subselect bug mysql-test/t/subselect.test: test of cteate temporary field of subselect bug
This commit is contained in:
@ -3605,6 +3605,7 @@ Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
|
||||
case Item::COND_ITEM:
|
||||
case Item::FIELD_AVG_ITEM:
|
||||
case Item::FIELD_STD_ITEM:
|
||||
case Item::SUBSELECT_ITEM:
|
||||
/* The following can only happen with 'CREATE TABLE ... SELECT' */
|
||||
case Item::INT_ITEM:
|
||||
case Item::REAL_ITEM:
|
||||
|
Reference in New Issue
Block a user