mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge frost.snake.net:/Volumes/frost2/MySQL/bk/mysql-5.0
into frost.snake.net:/private/tmp/merge-5.1 sql/sql_select.cc: Auto merged
This commit is contained in:
@ -8056,7 +8056,7 @@ Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
|
||||
bool table_cant_handle_bit_fields,
|
||||
uint convert_blob_length)
|
||||
{
|
||||
Item::Type orig_type;
|
||||
Item::Type orig_type= type;
|
||||
Item *orig_item;
|
||||
|
||||
if (type != Item::FIELD_ITEM &&
|
||||
@ -8066,7 +8066,6 @@ Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
|
||||
{
|
||||
orig_item= item;
|
||||
item= item->real_item();
|
||||
orig_type= type;
|
||||
type= Item::FIELD_ITEM;
|
||||
}
|
||||
switch (type) {
|
||||
|
Reference in New Issue
Block a user