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

Add loops and rows counters to "USE TEMP B-TREE FOR ORDER BY" records. Also fix the sqliteHwtime() function so that it returns a 64-bit value.

FossilOrigin-Name: 41a0e05e8c0fca3b803fe4bd017a157c172b2ca518356a2a4d4ed4f12d01a1e3
This commit is contained in:
dan
2022-12-05 18:19:56 +00:00
parent ad23a47acd
commit a3d0c158a0
10 changed files with 55 additions and 28 deletions

View File

@@ -2142,7 +2142,7 @@ int sqlite3_stmt_scanstatus_v2(
}else{
for(idx=0; idx<p->nScan; idx++){
pScan = &p->aScan[idx];
if( pScan->addrLoop ){
if( pScan->zName ){
iScan--;
if( iScan<0 ) break;
}