diff options
Diffstat (limited to 'src/analyze.c')
-rw-r--r-- | src/analyze.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/analyze.c b/src/analyze.c index 3d0767694..b7f65dbeb 100644 --- a/src/analyze.c +++ b/src/analyze.c @@ -11,7 +11,7 @@ ************************************************************************* ** This file contains code associated with the ANALYZE command. ** -** @(#) $Id: analyze.c,v 1.45 2008/11/19 09:05:27 danielk1977 Exp $ +** @(#) $Id: analyze.c,v 1.46 2008/11/19 16:52:44 danielk1977 Exp $ */ #ifndef SQLITE_OMIT_ANALYZE #include "sqliteInt.h" @@ -363,9 +363,9 @@ static int analysisLoader(void *pData, int argc, char **argv, char **NotUsed){ unsigned int v; const char *z; - UNUSED_PARAMETER(NotUsed); - assert( argc==2 ); + UNUSED_PARAMETER2(NotUsed, argc); + if( argv==0 || argv[0]==0 || argv[1]==0 ){ return 0; } |