Additional coverage testing in the new name resolver module. (CVS 5608)

FossilOrigin-Name: 0d61960afd35721d6d07acd75288c20d2cd6fda1
diff --git a/src/resolve.c b/src/resolve.c
index 4d33c1a..b9d5360 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -14,7 +14,7 @@
 ** resolve all identifiers by associating them with a particular
 ** table and column.
 **
-** $Id: resolve.c,v 1.2 2008/08/22 17:34:45 drh Exp $
+** $Id: resolve.c,v 1.3 2008/08/25 12:14:09 drh Exp $
 */
 #include "sqliteInt.h"
 #include <stdlib.h>
@@ -93,7 +93,7 @@
         Column *pCol;
   
         pTab = pItem->pTab;
-        assert( pTab!=0 );
+        assert( pTab!=0 && pTab->zName!=0 );
         iDb = sqlite3SchemaToIndex(db, pTab->pSchema);
         assert( pTab->nCol>0 );
         if( zTab ){
@@ -346,7 +346,6 @@
   NameContext *pNC;
   Parse *pParse;
 
-  if( pExpr==0 ) return WRC_Continue;
   pNC = pWalker->u.pNC;
   assert( pNC!=0 );
   pParse = pNC->pParse;