mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
THD::lex now points to THD::main_lex like in 5.0
All tests pass (client_test included)
This commit is contained in:
@ -746,7 +746,7 @@ bool Protocol::convert_str(const char *from, uint length)
|
||||
bool setup_params_data(st_prep_stmt *stmt)
|
||||
{
|
||||
THD *thd= stmt->thd;
|
||||
List<Item> ¶ms= thd->lex.param_list;
|
||||
List<Item> ¶ms= thd->lex->param_list;
|
||||
List_iterator<Item> param_iterator(params);
|
||||
Item_param *param;
|
||||
ulong param_no= 0;
|
||||
@ -779,7 +779,7 @@ bool setup_params_data(st_prep_stmt *stmt)
|
||||
bool setup_params_data_withlog(st_prep_stmt *stmt)
|
||||
{
|
||||
THD *thd= stmt->thd;
|
||||
List<Item> ¶ms= thd->lex.param_list;
|
||||
List<Item> ¶ms= thd->lex->param_list;
|
||||
List_iterator<Item> param_iterator(params);
|
||||
Item_param *param;
|
||||
MYSQL_BIND *client_param= thd->client_params;
|
||||
|
Reference in New Issue
Block a user