mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +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:
@ -185,7 +185,7 @@ my_bool mysqld_show_warnings(THD *thd, ulong levels_to_show)
|
||||
DBUG_RETURN(1);
|
||||
|
||||
MYSQL_ERROR *err;
|
||||
SELECT_LEX *sel= &thd->lex.select_lex;
|
||||
SELECT_LEX *sel= &thd->lex->select_lex;
|
||||
ha_rows offset= sel->offset_limit, limit= sel->select_limit;
|
||||
Protocol *protocol=thd->protocol;
|
||||
|
||||
|
Reference in New Issue
Block a user