mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
The substitute "puts" command used by the Windows implementation of
sqlite3_analyzer must invoke fflush() after each line of output. Otherwise the output can be truncated when redirected into a file. FossilOrigin-Name: ba058ce90a2ba9ebc4d8fb289108c04f80fa85da01c0b8bd58855681836ba83d
This commit is contained in:
@ -61,6 +61,7 @@ static int subst_puts(
|
||||
}
|
||||
sqlite3_fputs(zOut, pOut);
|
||||
if( addNewLine ) sqlite3_fputs("\n", pOut);
|
||||
fflush(pOut);
|
||||
return TCL_OK;
|
||||
}
|
||||
#endif /* defined(_WIN32) */
|
||||
|
Reference in New Issue
Block a user