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

Add an ALWAYS on an always-true branch in wal.c.

Fix the ANALYZE command so that it resets the "unordered" and "noskipscan"
flags on indices when reloading the sqlite_stat1 table.

FossilOrigin-Name: 9ed97a85feee6593faefa2b54cc4cf9a60f515f9
This commit is contained in:
drh
2014-11-19 14:05:41 +00:00
parent fead4ed8f3
commit 664f85dd59
4 changed files with 11 additions and 10 deletions

View File

@@ -1438,6 +1438,8 @@ static void decodeIntArray(
if( z==0 ) z = "";
#else
assert( z!=0 );
pIndex->bUnordered = 0;
pIndex->noSkipScan = 0;
#endif
for(i=0; *z && i<nOut; i++){
v = 0;