diff options
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/update.c b/src/update.c index a72c02a52..132232724 100644 --- a/src/update.c +++ b/src/update.c @@ -220,10 +220,7 @@ static void updateFromSelect( assert( pTabList->nSrc>1 ); if( pSrc ){ - if( pSrc->a[0].zDatabase==0 ){ - int iSchema = sqlite3SchemaToIndex(db, pTab->pSchema); - pSrc->a[0].zDatabase = sqlite3DbStrDup(db, db->aDb[iSchema].zDbSName); - } + pSrc->a[0].fg.notCte = 1; pSrc->a[0].iCursor = -1; pSrc->a[0].pTab->nTabRef--; pSrc->a[0].pTab = 0; |