mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Use NIL rather than NULL to represent an empty list.
Just to be tidy. Amit Langote Discussion: http://postgr.es/m/9297f80f-e4ab-7dda-33d4-8580bab6d634@lab.ntt.co.jp
This commit is contained in:
parent
2186b608b3
commit
3106829513
2
src/backend/utils/cache/evtcache.c
vendored
2
src/backend/utils/cache/evtcache.c
vendored
@ -68,7 +68,7 @@ EventCacheLookup(EventTriggerEvent event)
|
||||
if (EventTriggerCacheState != ETCS_VALID)
|
||||
BuildEventTriggerCache();
|
||||
entry = hash_search(EventTriggerCache, &event, HASH_FIND, NULL);
|
||||
return entry != NULL ? entry->triggerlist : NULL;
|
||||
return entry != NULL ? entry->triggerlist : NIL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user