mirror of
https://github.com/MariaDB/server.git
synced 2025-07-18 23:03:28 +03:00
These are actually two changesets. One for splitting LEX in two and
the other for multi-table delete
This commit is contained in:
@ -667,7 +667,7 @@ extern int sql_cache_hit(THD *thd, char *inBuf, uint length);
|
||||
|
||||
inline bool add_item_to_list(Item *item)
|
||||
{
|
||||
return current_lex->item_list.push_back(item);
|
||||
return current_lex->select->item_list.push_back(item);
|
||||
}
|
||||
inline bool add_value_to_list(Item *value)
|
||||
{
|
||||
@ -675,11 +675,11 @@ inline bool add_value_to_list(Item *value)
|
||||
}
|
||||
inline bool add_order_to_list(Item *item,bool asc)
|
||||
{
|
||||
return add_to_list(current_lex->order_list,item,asc);
|
||||
return add_to_list(current_lex->select->order_list,item,asc);
|
||||
}
|
||||
inline bool add_group_to_list(Item *item,bool asc)
|
||||
{
|
||||
return add_to_list(current_lex->group_list,item,asc);
|
||||
return add_to_list(current_lex->select->group_list,item,asc);
|
||||
}
|
||||
inline void mark_as_null_row(TABLE *table)
|
||||
{
|
||||
|
Reference in New Issue
Block a user