aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-01-13 04:22:20 +0000
committerdrh <drh@noemail.net>2010-01-13 04:22:20 +0000
commit44dbca83c73758c7704626a74bdbc8283f2db8e4 (patch)
treeeae8b7755183c15a664e7f6255d865fca294ef9c /src/expr.c
parent7ec5ea942e158d8802354d56e84d82e0be262b94 (diff)
downloadsqlite-44dbca83c73758c7704626a74bdbc8283f2db8e4.tar.gz
sqlite-44dbca83c73758c7704626a74bdbc8283f2db8e4.zip
Comment out unused code when SQLITE_OMIT_FLOATING_POINT is selected.
Added testcase() macros to boundary conditions in util.c routines. FossilOrigin-Name: dfc6595d347ea87923a857778b68751103f535d2
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr.c b/src/expr.c
index 88c790a58..dcadd9856 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -2754,6 +2754,7 @@ int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target){
target
));
+#ifndef SQLITE_OMIT_FLOATING_POINT
/* If the column has REAL affinity, it may currently be stored as an
** integer. Use OP_RealAffinity to make sure it is really real. */
if( pExpr->iColumn>=0
@@ -2761,6 +2762,7 @@ int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target){
){
sqlite3VdbeAddOp1(v, OP_RealAffinity, target);
}
+#endif
break;
}