1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Remove a redundant OOM test from the sqlite_stat2 analysis loader.

FossilOrigin-Name: d30ceeb8b303e2ebfab2855beb973da606a97fa9
This commit is contained in:
drh
2009-08-20 23:05:31 +00:00
parent daf4a9f3b8
commit 9e1fadee5b
3 changed files with 12 additions and 11 deletions

View File

@@ -606,7 +606,8 @@ int sqlite3AnalysisLoad(sqlite3 *db, int iDb){
}
}
if( pIdx->aSample ){
assert( pIdx->aSample );
{
IndexSample *pSample = &pIdx->aSample[iSample];
pSample->eType = eType;
if( eType==SQLITE_INTEGER || eType==SQLITE_FLOAT ){