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

Move a conditional inside of an #ifdef in order to make all branches

reachable regardless of compile-time options used.

FossilOrigin-Name: f7cc30d45b77f58c258b21f5823c2b39a44e2bf5
This commit is contained in:
drh
2013-10-08 23:16:48 +00:00
parent 833d198fb1
commit 1f1fc0c24d
3 changed files with 13 additions and 8 deletions

View File

@@ -1274,7 +1274,12 @@ static void decodeIntArray(
aOut[i] = v;
if( *z==' ' ) z++;
}
if( pIndex ){
#ifndef SQLITE_ENABLE_STAT3_OR_STAT4
assert( pIndex!=0 );
#else
if( pIndex )
#endif
{
if( strcmp(z, "unordered")==0 ){
pIndex->bUnordered = 1;
}else if( sqlite3_strglob("sz=[0-9]*", z)==0 ){