diff options
author | mskold/marty@linux.site <> | 2007-04-04 13:21:49 +0200 |
---|---|---|
committer | mskold/marty@linux.site <> | 2007-04-04 13:21:49 +0200 |
commit | 7e33b92279badb883b52e501a24bd1e84601f517 (patch) | |
tree | 625030adbf3bf1a60ae1260b13c5cfa9ce655ef6 /sql/sql_trigger.h | |
parent | e0411f937e6998233bc820f324dc9b582ab6eb74 (diff) | |
parent | 625a2629f0c401f33c913c6ac4a5e4483d9ee6f0 (diff) | |
download | mariadb-git-7e33b92279badb883b52e501a24bd1e84601f517.tar.gz |
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1
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 75dda6be1cf..2be42cbccac 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] || |