diff options
author | drh <> | 2023-07-01 18:33:26 +0000 |
---|---|---|
committer | drh <> | 2023-07-01 18:33:26 +0000 |
commit | 453be55b85d98ab55d7398cbebf81f413d1d7794 (patch) | |
tree | 2defb4ed387775ebb3db146cfb083e94038e7528 /src/printf.c | |
parent | 17c20bb15e5f51e12efd95fd3dc8806f939d8af8 (diff) | |
download | sqlite-453be55b85d98ab55d7398cbebf81f413d1d7794.tar.gz sqlite-453be55b85d98ab55d7398cbebf81f413d1d7794.zip |
Reinstate the fpdecode() SQL function for testing, but only when compiled
with SQLITE_DEBUG.
FossilOrigin-Name: 07eab52e0801bb0e4743b304a06ad16e18cdf8eaa18c0faf8d47a1f5d8576ea0
Diffstat (limited to 'src/printf.c')
-rw-r--r-- | src/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printf.c b/src/printf.c index f00ad4cb2..3fb1a322a 100644 --- a/src/printf.c +++ b/src/printf.c @@ -202,7 +202,6 @@ void sqlite3_str_vappendf( int nOut; /* Size of the rendering buffer */ char *zExtra = 0; /* Malloced memory used by some conversion */ int exp, e2; /* exponent of real numbers */ - int j; /* Number of significant digits returned */ etByte flag_dp; /* True if decimal point should be shown */ etByte flag_rtz; /* True if trailing zeros should be removed */ @@ -483,6 +482,7 @@ void sqlite3_str_vappendf( case etGENERIC: { FpDecode s; int iRound; + int j; if( bArgList ){ realvalue = getDoubleArg(pArgList); |