fix: compile problem

This commit is contained in:
kailixu 2024-09-12 08:32:59 +08:00
parent 15c92cea3f
commit d9a25b31fe
2 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,7 @@ extern "C" {
#endif
#include "sync.h"
#include "tglobal.h"
#include "tdef.h"
#include "trpc.h"
#include "ttimer.h"

View File

@ -27,8 +27,9 @@
#include "syncSnapshot.h"
#include "syncUtil.h"
#include "syncVoteMgr.h"
#include "tglobal.h"
int64_t tsLogBufferMemoryUsed = 0; // total bytes of vnode log buffer
static int64_t tsLogBufferMemoryUsed = 0; // total bytes of vnode log buffer
static bool syncIsMsgBlock(tmsg_t type) {
return (type == TDMT_VND_CREATE_TABLE) || (type == TDMT_VND_ALTER_TABLE) || (type == TDMT_VND_DROP_TABLE) ||