diff options
author | drh <drh@noemail.net> | 2010-01-13 16:43:27 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-01-13 16:43:27 +0000 |
commit | 90038f8b07b12ab25cbc938851e74cf6c438d17c (patch) | |
tree | a8899e599cf42c2483e456a098b5be695794db17 /src/printf.c | |
parent | c5a7b51c695ba6698a70ad86f6c0481fbd9c0564 (diff) | |
download | sqlite-90038f8b07b12ab25cbc938851e74cf6c438d17c.tar.gz sqlite-90038f8b07b12ab25cbc938851e74cf6c438d17c.zip |
When SQLITE_OMIT_FLOATING_POINT is defined, the floating-point formats in
the sqlite3_*printf() functions should pull an int64 off of the parameter
list and ignore it.
FossilOrigin-Name: 3fd6f9ad06b786116ca18c1e812363d30cd3060e
Diffstat (limited to 'src/printf.c')
-rw-r--r-- | src/printf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/printf.c b/src/printf.c index 17edb0907..fdd4793c3 100644 --- a/src/printf.c +++ b/src/printf.c @@ -606,7 +606,9 @@ void sqlite3VXPrintf( while( nPad-- ) bufpt[i++] = '0'; length = width; } -#endif +#else + length = 0; +#endif /* SQLITE_OMIT_FLOATING_POINT */ break; case etSIZE: *(va_arg(ap,int*)) = pAccum->nChar; |