修复CheckTimeout TimestampTz和float类型运算导致的精度丢失问题
This commit is contained in:
@ -93,7 +93,7 @@
|
|||||||
#include "utils/relcache.h"
|
#include "utils/relcache.h"
|
||||||
|
|
||||||
static const int NAPTIME_PER_CYCLE = 10; /* max sleep time between cycles (10ms) */
|
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 {
|
typedef struct FlushPosition {
|
||||||
dlist_node node;
|
dlist_node node;
|
||||||
|
Reference in New Issue
Block a user