summaryrefslogtreecommitdiff
path: root/sql/sql_trigger.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_trigger.h')
-rw-r--r--sql/sql_trigger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_trigger.h b/sql/sql_trigger.h
index bc4cafe026a..7d99dd811cd 100644
--- a/sql/sql_trigger.h
+++ b/sql/sql_trigger.h
@@ -113,7 +113,7 @@ public:
bool has_triggers(trg_event_type event_type,
trg_action_time_type action_time)
{
- return (bodies[event_type][action_time]);
+ return (bodies[event_type][action_time] != NULL);
}
bool has_delete_triggers()
{