summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2001-07-13 13:41:40 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2001-07-13 13:41:40 +0300
commit3a7d827d09f165d9e1d1241d5ebf7eca9bbd8714 (patch)
treedfa2322b2fd6c6b63bd6471d41845f0f3740cbbf /sql/sql_parse.cc
parent51e3fb9e459038452f24c593e6519cd53ab93ce5 (diff)
downloadmariadb-git-3a7d827d09f165d9e1d1241d5ebf7eca9bbd8714.tar.gz
Further work on UNION's
sql/sql_delete.cc: Removed some unnecessary stuff
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index a6707620243..18774955f6a 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -1754,10 +1754,8 @@ mysql_execute_command(void)
break;
}
if (!(res=open_and_lock_tables(thd,(TABLE_LIST *)total->first)))
- {
res=mysql_union(thd,lex, select_lex->select_number+1);
- if (res==-1) res=0;
- }
+ close_thread_tables(thd);
break;
}
case SQLCOM_DROP_TABLE: