aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-01-19 20:57:19 +0000
committerdrh <drh@noemail.net>2015-01-19 20:57:19 +0000
commit1af3c64d03c4f899e8f112639e3f5f4fe81a70ef (patch)
tree58eb075f039398f0731441328e95c804a9b2dff2 /src
parente1bb802c5460325d958bb7e61a2d9399496ef9a2 (diff)
downloadsqlite-1af3c64d03c4f899e8f112639e3f5f4fe81a70ef.tar.gz
sqlite-1af3c64d03c4f899e8f112639e3f5f4fe81a70ef.zip
Fix the assert() of the previous check-in so that it works even when
compiled without SQLITE_DEBUG. FossilOrigin-Name: 38868f845e1ad4d61354ab1ad39dd19e3e07c7fd
Diffstat (limited to 'src')
-rw-r--r--src/vdbeaux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index b3f8278eb..e07aacbca 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -3380,6 +3380,8 @@ static void vdbeAssertFieldCountWithinLimits(
}
assert( nField <= pKeyInfo->nField+pKeyInfo->nXField );
}
+#else
+# define vdbeAssertFieldCountWithinLimits(A,B,C)
#endif
/*