diff options
author | konstantin@oak.local <> | 2003-12-19 20:52:13 +0300 |
---|---|---|
committer | konstantin@oak.local <> | 2003-12-19 20:52:13 +0300 |
commit | d37da004f6ffb32d170ce4cb9d93ba166de5b6b0 (patch) | |
tree | a4c72a1d62170f1e5637ed34fd09ada369f1c764 /sql/sql_error.cc | |
parent | c49773237d2bb807e10ffb66c321f87a20f1e1c6 (diff) | |
download | mariadb-git-d37da004f6ffb32d170ce4cb9d93ba166de5b6b0.tar.gz |
THD::lex now points to THD::main_lex like in 5.0
All tests pass (client_test included)
Diffstat (limited to 'sql/sql_error.cc')
-rw-r--r-- | sql/sql_error.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_error.cc b/sql/sql_error.cc index 81b98358486..c94d5e52bcf 100644 --- a/sql/sql_error.cc +++ b/sql/sql_error.cc @@ -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; |