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

ORDER clause printing fixed (BUG#5156)

This commit is contained in:
bell@sanja.is.com.ua
2004-08-31 11:58:45 +03:00
parent 392c306969
commit 771c2998ed
7 changed files with 36 additions and 4 deletions

View File

@ -4935,6 +4935,7 @@ bool add_to_list(THD *thd, SQL_LIST &list,Item *item,bool asc)
order->asc = asc;
order->free_me=0;
order->used=0;
order->counter_used= 0;
list.link_in_list((byte*) order,(byte**) &order->next);
DBUG_RETURN(0);
}