/ Check-in [665e4291]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Do not attempt to generate code in the NGQP if there have been prior errors, since with prior errors some of the expressions might not be fully named resolved.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | nextgen-query-plan-exp
Files: files | file ages | folders
SHA1: 665e4291c6e78f11d7181c18c5f2418d1adfcb1c
User & Date: drh 2013-05-31 19:14:56
Context
2013-05-31
20:00
Make sure a unique cursor number is allocated for automatic indices. check-in: 433d1aec user: drh tags: nextgen-query-plan-exp
19:14
Do not attempt to generate code in the NGQP if there have been prior errors, since with prior errors some of the expressions might not be fully named resolved. check-in: 665e4291 user: drh tags: nextgen-query-plan-exp
18:20
Fix a problem with code generation on LEFT JOIN of tables without an index. check-in: 0b1bee92 user: drh tags: nextgen-query-plan-exp
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/where.c.

  5158   5158         sqlite3DebugPrintf("\n");
  5159   5159       }
  5160   5160       for(ii=0; ii<nTabList; ii++){
  5161   5161         whereLoopPrint(pWInfo->a[ii].pWLoop, pTabList);
  5162   5162       }
  5163   5163     }
  5164   5164   #endif
         5165  +  WHERETRACE(("*** Optimizer Finished ***\n"));
         5166  +  if( pParse->nErr || db->mallocFailed ){
         5167  +    goto whereBeginError;
         5168  +  }
  5165   5169   
  5166   5170   #if 0  /* FIXME: Add this back in? */
  5167   5171     /* If the caller is an UPDATE or DELETE statement that is requesting
  5168   5172     ** to use a one-pass algorithm, determine if this is appropriate.
  5169   5173     ** The one-pass algorithm only works if the WHERE clause constraints
  5170   5174     ** the statement to update a single row.
  5171   5175     */