diff --git a/ext/misc/eval.c b/ext/misc/eval.c index 71b6b69f20..e90bfc0100 100644 --- a/ext/misc/eval.c +++ b/ext/misc/eval.c @@ -34,6 +34,7 @@ struct EvalResult { static int callback(void *pCtx, int argc, char **argv, char **colnames){ struct EvalResult *p = (struct EvalResult*)pCtx; int i; + if( argv==0 ) return 0; for(i=0; i