[td-225] update the directory buffer length.
This commit is contained in:
parent
f8c3135f8c
commit
14927e45b6
|
@ -180,15 +180,15 @@ int8_t tsEnableStream = 1;
|
||||||
int8_t tsCompactMnodeWal = 0;
|
int8_t tsCompactMnodeWal = 0;
|
||||||
int8_t tsPrintAuth = 0;
|
int8_t tsPrintAuth = 0;
|
||||||
int8_t tscEmbedded = 0;
|
int8_t tscEmbedded = 0;
|
||||||
char configDir[TSDB_FILENAME_LEN] = {0};
|
char configDir[PATH_MAX] = {0};
|
||||||
char tsVnodeDir[TSDB_FILENAME_LEN] = {0};
|
char tsVnodeDir[PATH_MAX] = {0};
|
||||||
char tsDnodeDir[TSDB_FILENAME_LEN] = {0};
|
char tsDnodeDir[PATH_MAX] = {0};
|
||||||
char tsMnodeDir[TSDB_FILENAME_LEN] = {0};
|
char tsMnodeDir[PATH_MAX] = {0};
|
||||||
char tsMnodeTmpDir[TSDB_FILENAME_LEN] = {0};
|
char tsMnodeTmpDir[PATH_MAX] = {0};
|
||||||
char tsMnodeBakDir[TSDB_FILENAME_LEN] = {0};
|
char tsMnodeBakDir[PATH_MAX] = {0};
|
||||||
char tsDataDir[TSDB_FILENAME_LEN] = {0};
|
char tsDataDir[PATH_MAX] = {0};
|
||||||
char tsScriptDir[TSDB_FILENAME_LEN] = {0};
|
char tsScriptDir[PATH_MAX] = {0};
|
||||||
char tsTempDir[TSDB_FILENAME_LEN] = "/tmp/";
|
char tsTempDir[PATH_MAX] = "/tmp/";
|
||||||
|
|
||||||
int32_t tsDiskCfgNum = 0;
|
int32_t tsDiskCfgNum = 0;
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ int64_t dbgWSize = 0;
|
||||||
#ifdef _TD_POWER_
|
#ifdef _TD_POWER_
|
||||||
char tsLogDir[TSDB_FILENAME_LEN] = "/var/log/power";
|
char tsLogDir[TSDB_FILENAME_LEN] = "/var/log/power";
|
||||||
#else
|
#else
|
||||||
char tsLogDir[TSDB_FILENAME_LEN] = "/var/log/taos";
|
char tsLogDir[PATH_MAX] = "/var/log/taos";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static SLogObj tsLogObj = { .fileNum = 1 };
|
static SLogObj tsLogObj = { .fileNum = 1 };
|
||||||
|
|
Loading…
Reference in New Issue