summaryrefslogtreecommitdiff
path: root/sql/sql_trigger.cc
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2005-02-09 02:50:45 +0400
committerunknown <hf@deer.(none)>2005-02-09 02:50:45 +0400
commitc346d5c36aad584ef87d22f0cabfd19c350de48f (patch)
tree9631c72d46b0fd08479ad02de00e5846cd339cda /sql/sql_trigger.cc
parent61e36a967b46dcc37d0cff1deaf9e775244fb756 (diff)
downloadmariadb-git-c346d5c36aad584ef87d22f0cabfd19c350de48f.tar.gz
Precision Math implementation
BitKeeper/etc/ignore: Added client/decimal.c client/my_decimal.cc client/my_decimal.h to the ignore list
Diffstat (limited to 'sql/sql_trigger.cc')
-rw-r--r--sql/sql_trigger.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_trigger.cc b/sql/sql_trigger.cc
index 5968d13efde..b9e837b0d64 100644
--- a/sql/sql_trigger.cc
+++ b/sql/sql_trigger.cc
@@ -176,7 +176,8 @@ bool Table_triggers_list::create_trigger(THD *thd, TABLE_LIST *tables)
trg_field; trg_field= trg_field->next_trg_field)
{
trg_field->setup_field(thd, table, lex->trg_chistics.event);
- if (trg_field->fix_fields(thd, (TABLE_LIST *)0, (Item **)0))
+ if (!trg_field->fixed &&
+ trg_field->fix_fields(thd, (TABLE_LIST *)0, (Item **)0))
return 1;
}