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:
@@ -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 ){
|
||||
|
Reference in New Issue
Block a user