From 14f94dc0cad1419e74047956c059c1cf9c3e7a2c Mon Sep 17 00:00:00 2001 From: "serg@serg.mylan" <> Date: Tue, 3 Jan 2006 17:54:54 +0100 Subject: many warnings (practically safe but annoying) corrected --- sql/sql_help.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_help.cc') diff --git a/sql/sql_help.cc b/sql/sql_help.cc index b47412981ea..d6d1a6ed119 100644 --- a/sql/sql_help.cc +++ b/sql/sql_help.cc @@ -567,7 +567,7 @@ SQL_SELECT *prepare_simple_select(THD *thd, Item *cond, SQL_SELECT *res= make_select(table, 0, 0, cond, 0, error); if (*error || (res && res->check_quick(thd, 0, HA_POS_ERROR)) || - (res->quick && res->quick->reset())) + (res && res->quick && res->quick->reset())) { delete res; res=0; -- cgit v1.2.1