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

Commite318022

Browse files
committed
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [PATCHES] backend/storage/ipc/shmem.c - strname is only used if assert checking is on
1 parent0f94738 commite318022

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/backend/storage/ipc/shmem.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.8 1996/11/27 08:15:44 bryanh Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.9 1997/06/06 22:04:04 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -483,7 +483,9 @@ ShmemInitStruct(char *name, unsigned long size, bool *foundPtr)
483483

484484
if (!BindingTable) {
485485
/* Assert() is a macro now. substitutes inside quotes. */
486+
#ifndefNO_ASSERT_CHECKING
486487
char*strname="BindingTable";
488+
#endif
487489

488490
/* If the binding table doesnt exist, we fake it.
489491
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp