Loading sql/sql_select.cc +0 −1 Original line number Diff line number Diff line Loading @@ -12337,7 +12337,6 @@ find_order_in_list(THD *thd, Item **ref_pointer_array, TABLE_LIST *tables, Local SP variables may be int but are expressions, not positions. (And they can't be used before fix_fields is called for them). */ // if (order_item->type() == Item::INT_ITEM && !order_item->is_splocal()) if (order_item->type() == Item::INT_ITEM && order_item->basic_const_item()) { /* Order by position */ uint count= (uint) order_item->val_int(); Loading Loading
sql/sql_select.cc +0 −1 Original line number Diff line number Diff line Loading @@ -12337,7 +12337,6 @@ find_order_in_list(THD *thd, Item **ref_pointer_array, TABLE_LIST *tables, Local SP variables may be int but are expressions, not positions. (And they can't be used before fix_fields is called for them). */ // if (order_item->type() == Item::INT_ITEM && !order_item->is_splocal()) if (order_item->type() == Item::INT_ITEM && order_item->basic_const_item()) { /* Order by position */ uint count= (uint) order_item->val_int(); Loading