The xFilter method is not optional. (CVS 3539)

FossilOrigin-Name: 6fdbd3bc91559ed95314842c0df33adbf276913e
This commit is contained in:
drh
2006-12-20 14:53:38 +00:00
parent 3f87d2a37e
commit 644a5299aa
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -43,7 +43,7 @@
** in this file for details. If in doubt, do not deviate from existing
** commenting and indentation practices when changing or adding code.
**
** $Id: vdbe.c,v 1.580 2006/12/20 14:31:24 drh Exp $
** $Id: vdbe.c,v 1.581 2006/12/20 14:53:38 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -4642,8 +4642,8 @@ case OP_VFilter: { /* no-push */
assert( (pTos[0].flags&MEM_Int)!=0 && pTos[-1].flags==MEM_Int );
nArg = pTos[-1].i;
/* Invoke the xFilter method if one is defined. */
if( pModule->xFilter ){
/* Invoke the xFilter method */
{
int res = 0;
int i;
Mem **apArg = p->apArg;