1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

post-merge fixes for WL#1972

This commit is contained in:
timour@mysql.com
2004-11-11 20:16:38 +02:00
parent 7073829fbb
commit ea97ce50b9
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;
}