fix(shell): output redirect to file need not call fflush

This commit is contained in:
Alex Duan 2022-11-23 10:43:56 +08:00
parent be29bb0d62
commit 36e1deb0de
1 changed files with 0 additions and 1 deletions

View File

@ -739,7 +739,6 @@ void taosFprintfFile(TdFilePtr pFile, const char *format, ...) {
va_start(ap, format);
vfprintf(pFile->fp, format, ap);
va_end(ap);
fflush(pFile->fp);
}
bool taosValidFile(TdFilePtr pFile) { return pFile != NULL && pFile->fd > 0; }