PG-159: Bucket start time (bucket_start_time) should be aligned with bucket_time.

This commit is contained in:
Ibrar Ahmed
2021-01-11 18:00:17 +00:00
parent 22d96ecfed
commit 0ec76a8f69
3 changed files with 18 additions and 13 deletions

View File

@@ -7,6 +7,7 @@
#include <math.h>
#include <sys/stat.h>
#include <unistd.h>
#include <time.h>
#include <sys/time.h>
#include <sys/resource.h>
@@ -242,7 +243,7 @@ typedef struct pgssSharedState
int64 query_buf_size_bucket;
int32 relations[REL_LST];
char cmdTag[CMD_LST][CMD_LEN];
Timestamp bucket_start_time[MAX_BUCKETS]; /* start time of the bucket */
char bucket_start_time[MAX_BUCKETS][60]; /* start time of the bucket */
} pgssSharedState;
#define ResetSharedState(x) \