mirror of
https://github.com/MariaDB/server.git
synced 2025-07-10 04:22:00 +03:00
fix of BUG#11111 fix
sql/item.h: revrited as recursive sql/sql_select.cc: real_type is virtual tests/mysql_client_test.c: check results abd delete views
This commit is contained in:
@ -7958,7 +7958,7 @@ Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
|
||||
convert_blob_length);
|
||||
}
|
||||
case Item::REF_ITEM:
|
||||
if ( ((Item_ref*)item)->real_item()->type() == Item::FIELD_ITEM)
|
||||
if ( item->real_item()->type() == Item::FIELD_ITEM)
|
||||
{
|
||||
Item_field *field= (Item_field*) *((Item_ref*)item)->ref;
|
||||
Field *new_field= create_tmp_field_from_field(thd,
|
||||
|
Reference in New Issue
Block a user