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

Commit244c4a1

Browse files
committed
No datedebug printing of date debug is not defined.
1 parent3ebbb76 commit244c4a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 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/utils/adt/nabstime.c,v 1.40 1998/02/01 19:43:54 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.41 1998/02/02 01:28:12 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -140,7 +140,8 @@ abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn)
140140
};
141141
#endif
142142

143-
#if defined(DATEDEBUG)&& defined(HAVE_INT_TIMEZONE)
143+
#if defined(DATEDEBUG)
144+
#if defined(HAVE_INT_TIMEZONE)
144145
printf("datetime2tm- (localtime) %d.%02d.%02d %02d:%02d:%02d %s %s dst=%d\n",
145146
tx->tm_year,tx->tm_mon,tx->tm_mday,tx->tm_hour,tx->tm_min,tx->tm_sec,
146147
tzname[0],tzname[1],tx->tm_isdst);
@@ -149,6 +150,7 @@ abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn)
149150
tx->tm_year,tx->tm_mon,tx->tm_mday,tx->tm_hour,tx->tm_min,tx->tm_sec,
150151
tx->tm_zone,tx->tm_isdst);
151152
#endif
153+
#endif
152154

153155
#ifdefUSE_POSIX_TIME
154156

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp