mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 10:45:30 +02:00
ORDER clause printing fixed (BUG#5156)
mysql-test/r/subselect.result: ORDER clause printing fixed mysql-test/r/view.result: order by refers on integer field mysql-test/t/view.test: order by refers on integer field sql/sql_lex.cc: ORDER clause printing fixed sql/sql_parse.cc: fields for correct ORDER printing added sql/sql_select.cc: fields for correct ORDER printing added sql/table.h: fields for correct ORDER printing added
This commit is contained in:
parent
6e314e047d
commit
d3423ca699
7 changed files with 36 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue