1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Comment out a recently added assert statement that is failing. (CVS 6340)

FossilOrigin-Name: d0b2015f1caf2fc60ec82bd8e760f7b61befa3b4
This commit is contained in:
danielk1977
2009-03-05 14:53:18 +00:00
parent 50daafc74a
commit c427740b78
3 changed files with 12 additions and 10 deletions

View File

@@ -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 @@ void sqlite3ExprSpan(Expr *pExpr, Token *pLeft, Token *pRight){
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);
}
}