fix: expire time for show cluster
This commit is contained in:
parent
fc925b5eee
commit
a6e0fbd76a
|
@ -28,13 +28,12 @@ extern "C" {
|
||||||
#define GRANTS_COL_MAX_LEN 196
|
#define GRANTS_COL_MAX_LEN 196
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GRANT_HEART_BEAT_MIN 2
|
#define GRANT_HEART_BEAT_MIN 2
|
||||||
#define GRANT_EXPIRE_VALUE (31556995201)
|
#define GRANT_EXPIRE_VALUE (31556995201)
|
||||||
#define GRANT_EXPIRE_UNLIMITED(v) ((v) == GRANT_EXPIRE_VALUE)
|
#define GRANT_ACTIVE_CODE "activeCode"
|
||||||
#define GRANT_ACTIVE_CODE "activeCode"
|
#define GRANT_FLAG_ALL (0x01)
|
||||||
#define GRANT_FLAG_ALL (0x01)
|
#define GRANT_FLAG_AUDIT (0x02)
|
||||||
#define GRANT_FLAG_AUDIT (0x02)
|
#define GRANT_FLAG_VIEW (0x04)
|
||||||
#define GRANT_FLAG_VIEW (0x04)
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
TSDB_GRANT_ALL,
|
TSDB_GRANT_ALL,
|
||||||
|
|
Loading…
Reference in New Issue