fix(query): fix some syntax errors.

This commit is contained in:
Haojun Liao 2022-11-09 15:15:35 +08:00
parent 8659382c0e
commit f942e319b9
2 changed files with 9 additions and 9 deletions

View File

@ -324,7 +324,7 @@ static void taosGetLogFileName(char *fn) {
bool file2open = taosCheckFileIsOpen(fileName);
if (!file1open && !file2open) {
sprintf(tsLogObj.logName, "%s%d", fn, i);
snprintf(tsLogObj.logName, tListLen(tsLogObj.logName), "%s%d", fn, i);
return;
}
}