diff options
author | bell@sanja.is.com.ua <> | 2003-11-02 17:27:35 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2003-11-02 17:27:35 +0200 |
commit | 777316c3e1913ff669fea74c9a1380ba09a80ad1 (patch) | |
tree | 5dc5154988d455ced7025ef0091ac549d6269555 /sql/sql_select.cc | |
parent | 33f6f729797e58c0cfbfe80a432ff34c2b2333d9 (diff) | |
download | mariadb-git-777316c3e1913ff669fea74c9a1380ba09a80ad1.tar.gz |
fixed BUG#1645
all calls of fix_fields() are inspected
(copy of cset which I lost in accidatly tree delete)
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 34b55367163..f209bf886ff 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -8525,11 +8525,7 @@ static bool add_ref_to_table_cond(THD *thd, JOIN_TAB *join_tab) if (thd->is_fatal_error) DBUG_RETURN(TRUE); - /* - Here we pass 0 as the first argument to fix_fields that don't need - to do any stack checking (This is already done in the initial fix_fields). - */ - cond->fix_fields((THD *) 0,(TABLE_LIST *) 0, (Item**)&cond); + cond->fix_fields(thd,(TABLE_LIST *) 0, (Item**)&cond); if (join_tab->select) { error=(int) cond->add(join_tab->select->cond); |