1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Fix typo in C comment.

This commit is contained in:
Kevin Grittner
2016-04-09 09:07:42 -05:00
parent 56dffb5a73
commit 381200be4b

View File

@ -301,10 +301,10 @@ typedef PageHeaderData *PageHeader;
* Using assertions, validate that the page special pointer is OK.
*
* This is intended to catch use of the pointer before page initialization.
* It is implemented as a function do to the limitations of the MSVC compiler,
* which choked on doing all these tests within another macro. We return true
* so that MacroAssert() can be used while still getting the specifics from
* the macro failure within this function.
* It is implemented as a function due to the limitations of the MSVC
* compiler, which choked on doing all these tests within another macro. We
* return true so that MacroAssert() can be used while still getting the
* specifics from the macro failure within this function.
*/
static inline bool
PageValidateSpecialPointer(Page page)