1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

post-merge fixes for WL#1972

sql/item.cc:
  post-merge fixes
sql/sql_select.cc:
  post-merge fixes
This commit is contained in:
unknown
2004-11-11 20:16:38 +02:00
parent 10e868bb5e
commit 7ecaf25656
2 changed files with 4 additions and 5 deletions

View File

@@ -11288,8 +11288,8 @@ find_order_in_list(THD *thd, Item **ref_pointer_array, TABLE_LIST *tables,
thd->is_fatal_error))
return 1; // Wrong field
uint el= all_fields.elements;
all_fields.push_front(it); // Add new field to field list
ref_pointer_array[el]= it;
all_fields.push_front(order_item); // Add new field to field list
ref_pointer_array[el]= order_item;
order->item= ref_pointer_array + el;
return 0;
}