diff options
author | serg@serg.mylan <> | 2005-01-24 15:48:25 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2005-01-24 15:48:25 +0100 |
commit | 67ba2e367a2d21321ae58048d131ab39248dea00 (patch) | |
tree | d0b61b703f3c601368669e4acab45d7567a4669b /sql/sql_lex.cc | |
parent | b53757ba91f67885911f677d09a2757774998b7b (diff) | |
download | mariadb-git-67ba2e367a2d21321ae58048d131ab39248dea00.tar.gz |
fixes/cleanups according to Coverity report
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 2783406e16a..e0cb43e093e 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1685,9 +1685,6 @@ void st_select_lex::print_order(String *str, ORDER *order) void st_select_lex::print_limit(THD *thd, String *str) { - if (!thd) - thd= current_thd; - if (explicit_limit) { str->append(" limit ", 7); |