forked from huawei/openGauss-server
修复CheckTimeout TimestampTz和float类型运算导致的精度丢失问题
This commit is contained in:
parent
ea938c947e
commit
9f7da01725
|
@ -93,7 +93,7 @@
|
|||
#include "utils/relcache.h"
|
||||
|
||||
static const int NAPTIME_PER_CYCLE = 10; /* max sleep time between cycles (10ms) */
|
||||
static const float HALF = 0.5;
|
||||
static const double HALF = 0.5;
|
||||
|
||||
typedef struct FlushPosition {
|
||||
dlist_node node;
|
||||
|
|
Loading…
Reference in New Issue