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

Commitd2ad1a8

Browse files
committed
Un-break build on ANSI compilers (like msvc) by moving Assert to position
after variable declarations.
1 parent43bcf56 commitd2ad1a8

File tree

1 file changed

+5
-5
lines changed
  • src/backend/utils/adt

1 file changed

+5
-5
lines changed

‎src/backend/utils/adt/xml.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.27 2007/02/11 22:18:15 petere Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.28 2007/02/13 15:56:12 mha Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1320,16 +1320,16 @@ is_valid_xml_namechar(pg_wchar c)
13201320
char*
13211321
map_sql_identifier_to_xml_name(char*ident,boolfully_escaped,boolescape_period)
13221322
{
1323+
#ifdefUSE_LIBXML
1324+
StringInfoDatabuf;
1325+
char*p;
1326+
13231327
/*
13241328
* SQL/XML doesn't make use of this case anywhere, so it's
13251329
* probably a mistake.
13261330
*/
13271331
Assert(fully_escaped|| !escape_period);
13281332

1329-
#ifdefUSE_LIBXML
1330-
StringInfoDatabuf;
1331-
char*p;
1332-
13331333
initStringInfo(&buf);
13341334

13351335
for (p=ident;*p;p+=pg_mblen(p))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp