diff options
author | mskold/marty@mysql.com/linux.site <> | 2007-04-05 08:39:12 +0200 |
---|---|---|
committer | mskold/marty@mysql.com/linux.site <> | 2007-04-05 08:39:12 +0200 |
commit | 3e8cf5958b967d0ad8041bc1d99ba46630c2a018 (patch) | |
tree | 65f485d2be885f33d90600d09460d7d0e3505d99 /sql/sql_trigger.h | |
parent | b3ce01771a10d0b3ff3e443fac11e6434318e130 (diff) | |
parent | ee034c0e594c24ee2bfcbb87af4333e03eecff53 (diff) | |
download | mariadb-git-3e8cf5958b967d0ad8041bc1d99ba46630c2a018.tar.gz |
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0
into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
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 19b2b24a3fe..b029a70ca20 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] != NULL); + } bool has_delete_triggers() { return (bodies[TRG_EVENT_DELETE][TRG_ACTION_BEFORE] || |