aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-08-22 16:29:51 +0000
committerdrh <drh@noemail.net>2008-08-22 16:29:51 +0000
commit9d8b3072ce496b3aa80c094932ef455e6d0407d4 (patch)
tree594b9e71eb1f402e15c2a1600f71e235b21bfeb1 /src/expr.c
parenta858aa2e8caf7be20495f7e878e79951d6eebd07 (diff)
downloadsqlite-9d8b3072ce496b3aa80c094932ef455e6d0407d4.tar.gz
sqlite-9d8b3072ce496b3aa80c094932ef455e6d0407d4.zip
Enhanced test coverage. (CVS 5598)
FossilOrigin-Name: cc36b4e016a1f519ca81d591de3a551ee8aa6813
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/expr.c b/src/expr.c
index b65003522..88a86cd63 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.389 2008/08/20 16:35:10 drh Exp $
+** $Id: expr.c,v 1.390 2008/08/22 16:29:51 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -2423,10 +2423,7 @@ int sqlite3ExprCodeExprList(
){
struct ExprList_item *pItem;
int i, n;
- assert( pList!=0 || pParse->db->mallocFailed );
- if( pList==0 ){
- return 0;
- }
+ assert( pList!=0 );
assert( target>0 );
n = pList->nExpr;
for(pItem=pList->a, i=0; i<n; i++, pItem++){