summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-11-08 16:36:25 +0200
committerunknown <monty@mysql.com>2004-11-08 16:36:25 +0200
commit87abc13d6fcca99cccfdc76782cbbd0b880fa9bf (patch)
tree9b83ed3c0755ae00792f08a20afe12c1f0c2c1e6
parenta23fdf7f741df08e59d9216d24653d7baf299221 (diff)
downloadmariadb-git-87abc13d6fcca99cccfdc76782cbbd0b880fa9bf.tar.gz
Fixed typo
-rw-r--r--sql/sql_select.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 2e1429feb3e..53c66e9b192 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -1497,6 +1497,7 @@ JOIN::exec()
are fixed or do not need fix_fields, too
*/
curr_table->select->cond->quick_fix_field();
+ cur_tabl
}
curr_table->select_cond= curr_table->select->cond;
curr_table->select_cond->top_level_item();
@@ -5018,7 +5019,7 @@ add_found_match_trig_cond(JOIN_TAB *tab, COND *cond, JOIN_TAB *root_tab)
{
tmp= new Item_func_trig_cond(tmp, &tab->found);
}
- if (!tmp)
+ if (tmp)
tmp->quick_fix_field();
return tmp;
}