aboutsummaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-09-02 15:37:50 +0000
committerdrh <drh@noemail.net>2015-09-02 15:37:50 +0000
commitd37bea5bdcdd0c55797295c2df9295159a3dee6d (patch)
tree881cf817e1b4af67fc81695a0533a6dc6f3830b0 /src/printf.c
parent4ef299a32ca49f0cd55fff2a42c166a9e70c8b66 (diff)
downloadsqlite-d37bea5bdcdd0c55797295c2df9295159a3dee6d.tar.gz
sqlite-d37bea5bdcdd0c55797295c2df9295159a3dee6d.zip
Use sqlite3XPrintf() instead of sqlite3StrAccumAppend() in a few places
for better performance and a smaller footprint. FossilOrigin-Name: 82355e41084387fa11b7b531e4d660dd3b4cd984
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/printf.c b/src/printf.c
index 018df412f..cec5ad44c 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -1062,7 +1062,8 @@ void sqlite3DebugPrintf(const char *zFormat, ...){
/*
-** variable-argument wrapper around sqlite3VXPrintf().
+** variable-argument wrapper around sqlite3VXPrintf(). The bFlags argument
+** can contain the bit SQLITE_PRINTF_INTERNAL enable internal formats.
*/
void sqlite3XPrintf(StrAccum *p, u32 bFlags, const char *zFormat, ...){
va_list ap;