diff options
author | unknown <mskold/marty@linux.site> | 2007-04-04 17:03:31 +0200 |
---|---|---|
committer | unknown <mskold/marty@linux.site> | 2007-04-04 17:03:31 +0200 |
commit | 7279edc72dd951e356db1cf9842115452a5773a1 (patch) | |
tree | dd37944358fa408c8d0b0528e0d416320718c1e4 /sql/sql_trigger.h | |
parent | 2770bf0bfcc73c78b37320c4662c27c72b9d9e12 (diff) | |
parent | 59a64c2b1604649be464d38141e2345c79d27bd3 (diff) | |
download | mariadb-git-7279edc72dd951e356db1cf9842115452a5773a1.tar.gz |
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.1
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
include/my_base.h:
Auto merged
sql/ha_ndbcluster.h:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_delete.cc:
Auto merged
sql/sql_insert.cc:
Auto merged
sql/sql_load.cc:
Auto merged
sql/sql_trigger.h:
Auto merged
sql/sql_update.cc:
Auto merged
sql/ha_ndbcluster.cc:
Merge
Diffstat (limited to 'sql/sql_trigger.h')
-rw-r--r-- | sql/sql_trigger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_trigger.h b/sql/sql_trigger.h index 707fcc4e380..bc4cafe026a 100644 --- a/sql/sql_trigger.h +++ b/sql/sql_trigger.h @@ -110,6 +110,11 @@ public: const char *old_table, const char *new_db, const char *new_table); + bool has_triggers(trg_event_type event_type, + trg_action_time_type action_time) + { + return (bodies[event_type][action_time]); + } bool has_delete_triggers() { return (bodies[TRG_EVENT_DELETE][TRG_ACTION_BEFORE] || |