File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.49 2002/06/07 23:41:53 momjian Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.50 2002/06/07 23:43:17 momjian Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -786,7 +786,7 @@ int4fac(PG_FUNCTION_ARGS)
786
786
787
787
if (arg1 == 0 )
788
788
result = 1 ;
789
- else if (arg1 < 1 )
789
+ else if (arg1 < 0 )
790
790
result = 0 ;
791
791
else
792
792
for (result = 1 ; arg1 > 0 ; -- arg1 )
@@ -802,7 +802,7 @@ int2fac(PG_FUNCTION_ARGS)
802
802
803
803
if (arg1 == 0 )
804
804
result = 1 ;
805
- else if (arg1 < 1 )
805
+ else if (arg1 < 0 )
806
806
result = 0 ;
807
807
else
808
808
for (result = 1 ; arg1 > 0 ; -- arg1 )
You can’t perform that action at this time.
0 commit comments