summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorunknown <jani@ua141d10.elisa.omakaista.fi>2006-01-12 20:49:47 +0200
committerunknown <jani@ua141d10.elisa.omakaista.fi>2006-01-12 20:49:47 +0200
commit3cfda33b04b1c8af4efc17001f3eaa4f16f93e1c (patch)
tree14aca95dcad51344e4d234d2cd4eb7605b61778a /sql/sql_handler.cc
parentc31cb1ed95fea5bf2e9fb1cb4956690ec4b2c5f9 (diff)
downloadmariadb-git-3cfda33b04b1c8af4efc17001f3eaa4f16f93e1c.tar.gz
Fixed a bug in merge.
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index 3370a0a1957..e9e1e79daaf 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -426,9 +426,7 @@ bool mysql_ha_read(THD *thd, TABLE_LIST *tables,
{
if (table->query_id != thd->query_id)
cond->cleanup(); // File was reopened
- if ((!cond->fixed &&
- cond->fix_fields(thd, tables, &cond)) || cond->check_cols(1))
- goto err0;
+ goto err0;
}
if (keyname)