1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-22 20:22:44 +03:00

Runs quicktest without hitting an assert now. Some tests get unexpected

results still and there is a memory leak.

FossilOrigin-Name: a8224448cc305258a59a9023e6604783dda73e45
This commit is contained in:
drh
2010-04-06 18:51:42 +00:00
parent 424aab88ca
commit 75bb9f5a5b
3 changed files with 12 additions and 15 deletions

View File

@@ -4078,11 +4078,8 @@ WhereInfo *sqlite3WhereBegin(
pLevel->iTabCur = pTabItem->iCursor;
iDb = sqlite3SchemaToIndex(db, pTab->pSchema);
if( (pTab->tabFlags & TF_Ephemeral)!=0 || pTab->pSelect ){
if( pLevel->plan.wsFlags & WHERE_TEMP_INDEX ){
constructTransientIndex(pParse, pWC, pTabItem, notReady, pLevel);
}
continue;
}
/* Do nothing */
}else
#ifndef SQLITE_OMIT_VIRTUALTABLE
if( (pLevel->plan.wsFlags & WHERE_VIRTUALTABLE)!=0 ){
const char *pVTab = (const char *)sqlite3GetVTable(db, pTab);