1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Fix a bug in the debugging printf logic. (CVS 4600)

FossilOrigin-Name: 1d6a9f5fafb862fb31c8589fa118a5672bad6abd
This commit is contained in:
drh
2007-12-08 17:55:35 +00:00
parent b6a75606ed
commit bed8e7e565
3 changed files with 9 additions and 8 deletions

View File

@@ -884,6 +884,7 @@ void sqlite3DebugPrintf(const char *zFormat, ...){
va_start(ap,zFormat);
vxprintf(&acc, 0, zFormat, ap);
va_end(ap);
sqlite3StrAccumFinish(&acc);
fprintf(stdout,"%s", zBuf);
fflush(stdout);
}