aboutsummaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2004-06-22 22:04:46 +0000
committerdrh <drh@noemail.net>2004-06-22 22:04:46 +0000
commit1b743be858159ab936058c8cc093e8e374e3b134 (patch)
tree5082e92efd0f5b55ecd1a89fdbaeaebdc2da7e45 /src/printf.c
parent7cf8c55add6b6ffe2575e72ef4813a21acfaf155 (diff)
downloadsqlite-1b743be858159ab936058c8cc093e8e374e3b134.tar.gz
sqlite-1b743be858159ab936058c8cc093e8e374e3b134.zip
Be careful to initialize the Mem.xDel field to zero for static Mems. (CVS 1671)
FossilOrigin-Name: e17ea666b1eb1df12a1d4d78bda2e025e2aa30bd
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printf.c b/src/printf.c
index cb03b3dc1..40af67e37 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -800,7 +800,7 @@ char *sqlite3_snprintf(int n, char *zBuf, const char *zFormat, ...){
return z;
}
-#if defined(SQLITE_TEST)
+#if defined(SQLITE_TEST) || defined(SQLITE_DEBUG)
/*
** A version of printf() that understands %lld. Used for debugging.
** The printf() built into some versions of windows does not understand %lld