fix(query): fix some syntax errors.
This commit is contained in:
parent
8659382c0e
commit
f942e319b9
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue