Comment out a recently added assert statement that is failing. (CVS 6340)
FossilOrigin-Name: d0b2015f1caf2fc60ec82bd8e760f7b61befa3b4
diff --git a/src/expr.c b/src/expr.c
index 4b59283..2d46413 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -12,7 +12,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
-** $Id: expr.c,v 1.417 2009/03/05 03:48:07 shane Exp $
+** $Id: expr.c,v 1.418 2009/03/05 14:53:18 danielk1977 Exp $
*/
#include "sqliteInt.h"
@@ -494,7 +494,9 @@
assert( pLeft!=0 );
if( pExpr ){
pExpr->span.z = pLeft->z;
- assert(pRight->z >= pLeft->z);
+ /* The following assert() may fail when this is called
+ ** via sqlite3PExpr()/sqlite3Expr() from addWhereTerm(). */
+ /* assert(pRight->z >= pLeft->z); */
pExpr->span.n = pRight->n + (unsigned)(pRight->z - pLeft->z);
}
}