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

Remove an unused #define and add an assert(), both associated with WITH logic.

FossilOrigin-Name: a06235e0f6aa1e8fefa3f2873ee035eac9dac750
This commit is contained in:
drh
2014-01-20 14:58:55 +00:00
parent 7f3068aa83
commit c25e2ebc01
4 changed files with 10 additions and 10 deletions

View File

@@ -3595,6 +3595,7 @@ static int withExpand(
return SQLITE_ERROR;
}
assert( pFrom->pTab==0 );
pFrom->pTab = pTab = sqlite3DbMallocZero(db, sizeof(Table));
if( pTab==0 ) return WRC_Abort;
pTab->nRef = 1;