[HACKERS] Minor fix for EventCacheLookup()

Поиск
Список
Период
Сортировка
Искать

[HACKERS] Minor fix for EventCacheLookup()

От:
Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Дата:
Вложения:
It should return NIL when no entry is found in the cache, not NULL.

Attached patch fixes that.

Thanks,
Amit

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Minor fix for EventCacheLookup()

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Tue, Jun 6, 2017 at 12:24 AM, Amit Langote
 wrote:
> It should return NIL when no entry is found in the cache, not NULL.
>
> Attached patch fixes that.

I'm not sure how much value neatnik-ism has in cases like this, but committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


FAQ