fix: reserve log file name
This commit is contained in:
parent
f96721cb6d
commit
fa05b2c8b6
|
@ -269,7 +269,7 @@ static void taosUnLockLogFile(TdFilePtr pFile) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void taosReserveOldLog(char *oldName, char *keepName) {
|
static void taosReserveOldLog(char *oldName, char *keepName) {
|
||||||
if (tsLogKeepDays == 0) {
|
if (tsLogKeepDays <= 0) {
|
||||||
keepName[0] = 0;
|
keepName[0] = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue