We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed11827 commit 8fd0898Copy full SHA for 8fd0898
src/backend/utils/adt/datetime.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.11 1997/08/19 21:34:32 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.12 1997/08/28 05:06:29 vadim Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -551,7 +551,7 @@ time_ge(TimeADT *time1, TimeADT *time2)
551
int
552
time_cmp(TimeADT *time1, TimeADT *time2)
553
{
554
- return((*time1 < *time2)? -1: (((*time1 < *time2)? 1: 0)));
+ return((*time1 < *time2)? -1: (((*time1 > *time2)? 1: 0)));
555
} /* time_cmp() */
556
557
0 commit comments