Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitac3c926

Browse files
committed
Fix typo in struct name.
1 parent917042f commitac3c926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/storage/buffer/buf_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.6 1997/01/25 21:01:16 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.7 1997/01/26 00:45:25 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -139,7 +139,7 @@ InitBufferPool(IPCKey key)
139139
/* we need both checks because a sbufdesc_padded > PADDED_SBUFDESC_SIZE
140140
will shrink sbufdesc to the required size, which is bad */
141141
if (sizeof(structsbufdesc)!=PADDED_SBUFDESC_SIZE||
142-
sizeof(structsbufdesc_padded)>PADDED_SBUFDESC_SIZE)
142+
sizeof(structsbufdesc_unpadded)>PADDED_SBUFDESC_SIZE)
143143
elog(WARN,"Internal error: sbufdesc does not have the proper size, "
144144
"contact the Postgres developers");
145145
if (sizeof(structsbufdesc_unpadded) <=PADDED_SBUFDESC_SIZE/2)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp