summaryrefslogtreecommitdiff
path: root/sql/sql_trigger.h
diff options
context:
space:
mode:
authorunknown <mskold/marty@mysql.com/linux.site>2007-04-05 06:49:43 +0200
committerunknown <mskold/marty@mysql.com/linux.site>2007-04-05 06:49:43 +0200
commit4c0f3c50f80d325563380f83a6a6e620d71a359b (patch)
tree14ef968e42f9b8040978af68223fc45c6913c78c /sql/sql_trigger.h
parent2efc0f51cf3e80cd49c1ea0dee9a440936ee6287 (diff)
downloadmariadb-git-4c0f3c50f80d325563380f83a6a6e620d71a359b.tar.gz
Fixed compilation error on Windows
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 d2e3c52eef4..5f22a7c9757 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()
{