mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
New #ifdefs to omit code that is unused except under STAT4.
FossilOrigin-Name: 09a9b30ba7828a487a33a3ebf8028dfaa147dff67d2724584123b90a88d9814b
This commit is contained in:
@@ -1389,7 +1389,11 @@ static void analyzeDatabase(Parse *pParse, int iDb){
|
||||
for(k=sqliteHashFirst(&pSchema->tblHash); k; k=sqliteHashNext(k)){
|
||||
Table *pTab = (Table*)sqliteHashData(k);
|
||||
analyzeOneTable(pParse, pTab, 0, iStatCur, iMem, iTab);
|
||||
#ifdef SQLITE_ENABLE_STAT4
|
||||
iMem = sqlite3FirstAvailableRegister(pParse, iMem);
|
||||
#else
|
||||
assert( iMem==sqlite3FirstAvailableRegister(pParse,iMem) );
|
||||
#endif
|
||||
}
|
||||
loadAnalysis(pParse, iDb);
|
||||
}
|
||||
|
Reference in New Issue
Block a user