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

Commit9b3e2dd

Browse files
committed
Ooops ... dllist.c can't use Assert() when it is compiled into
libpq ...
1 parent98981a9 commit9b3e2dd

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

‎src/backend/lib/dllist.c

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,24 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/lib/dllist.c,v 1.13 1999/05/31 23:48:03 tgl Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/lib/dllist.c,v 1.14 1999/06/03 01:28:24 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
1616

1717
#include<postgres.h>
18-
1918
#include<lib/dllist.h>
2019

20+
/* When this file is compiled for inclusion in libpq,
21+
* it can't use assert checking. Probably this fix ought to be
22+
* in c.h or somewhere like that...
23+
*/
24+
#ifdefFRONTEND
25+
#undef Assert
26+
#defineAssert(condition)
27+
#endif
28+
29+
2130
Dllist*
2231
DLNewList(void)
2332
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp