File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
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/date.c,v 1.80 2003/04/04 04:50:44 tgl Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.81 2003/04/08 17:02:04 tgl Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -645,17 +645,17 @@ AdjustTimeForTypmod(TimeADT *time, int32 typmod)
645
645
#else
646
646
/* note MAX_TIME_PRECISION differs in this case */
647
647
static const double TimeScales [MAX_TIME_PRECISION + 1 ] = {
648
- 1 ,
649
- 10 ,
650
- 100 ,
651
- 1000 ,
652
- 10000 ,
653
- 100000 ,
654
- 1000000 ,
655
- 10000000 ,
656
- 100000000 ,
657
- 1000000000 ,
658
- 10000000000
648
+ 1.0 ,
649
+ 10.0 ,
650
+ 100.0 ,
651
+ 1000.0 ,
652
+ 10000.0 ,
653
+ 100000.0 ,
654
+ 1000000.0 ,
655
+ 10000000.0 ,
656
+ 100000000.0 ,
657
+ 1000000000.0 ,
658
+ 10000000000.0
659
659
};
660
660
#endif
661
661
You can’t perform that action at this time.
0 commit comments