mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
In the index_list pragma, make sure the "r" column is the same on output
as it was on input in the sqlite_stat1 table. FossilOrigin-Name: de78250ad2a6210dd4f03045248f7192d64427f2
This commit is contained in:
@@ -1466,7 +1466,7 @@ void sqlite3Pragma(
|
||||
sqlite3VdbeAddOp2(v, OP_Integer, i, 1);
|
||||
sqlite3VdbeAddOp4(v, OP_String8, 0, 2, 0, pIdx->zName, 0);
|
||||
sqlite3VdbeAddOp2(v, OP_Integer, pIdx->onError!=OE_None, 3);
|
||||
sqlite3VdbeAddOp2(v, OP_Integer, pIdx->iScanRatio*100/128, 4);
|
||||
sqlite3VdbeAddOp2(v, OP_Integer, (pIdx->iScanRatio*100+127)/128, 4);
|
||||
sqlite3VdbeAddOp2(v, OP_ResultRow, 1, 4);
|
||||
++i;
|
||||
pIdx = pIdx->pNext;
|
||||
|
||||
Reference in New Issue
Block a user