diff options
author | mskold/marty@linux.site <> | 2007-04-04 17:03:31 +0200 |
---|---|---|
committer | mskold/marty@linux.site <> | 2007-04-04 17:03:31 +0200 |
commit | 552d1086eca369e7adef0a84b79c0b90753214f2 (patch) | |
tree | dd37944358fa408c8d0b0528e0d416320718c1e4 /sql/sql_trigger.h | |
parent | d5d2a1fd103e519109de2d07932c097bdad16a96 (diff) | |
parent | 6c8f5c585978b90327ae2be652d741de42051a75 (diff) | |
download | mariadb-git-552d1086eca369e7adef0a84b79c0b90753214f2.tar.gz |
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.1
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-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 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] || |