Cloud Backed SQLite

Check-in [94b1bc44c8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove an old "TODO" comment from blockcachevfs.c.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 94b1bc44c80b54e751a88d131926ee1db1649e51d2e0316226803ed2b51559da
User & Date: dan 2023-08-22 16:08:20.365
Context
2023-08-23
11:30
Add extra documentation for the daemon -cachesize option. check-in: 379d034d22 user: dan tags: trunk
2023-08-22
16:08
Remove an old "TODO" comment from blockcachevfs.c. check-in: 94b1bc44c8 user: dan tags: trunk
2023-08-18
20:10
Update documentation to match bcv_database changes. check-in: 683101f90f user: dan tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/blockcachevfs.c.
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
        if( pDb->nBlkLocal==0 ){
          zState = "deleted";
        }else if( pDb->iDbId>=BCVFS_FIRST_LOCAL_ID ){
          zState = "copied";
        }
        bcvBufferMsgString(&rc, &buf, zState);
        if( iVersion>=1 ){
          /* TODO: Real values! */
          int nClient = 0;
          int nPrefetch = 0;
          xClientCount(pCommon, pCont, pDb->iDbId, &nClient, &nPrefetch);
          bcvBufferAppendU32(&rc, &buf, nClient);
          bcvBufferAppendU32(&rc, &buf, nPrefetch);
        }
      }







<







6248
6249
6250
6251
6252
6253
6254

6255
6256
6257
6258
6259
6260
6261
        if( pDb->nBlkLocal==0 ){
          zState = "deleted";
        }else if( pDb->iDbId>=BCVFS_FIRST_LOCAL_ID ){
          zState = "copied";
        }
        bcvBufferMsgString(&rc, &buf, zState);
        if( iVersion>=1 ){

          int nClient = 0;
          int nPrefetch = 0;
          xClientCount(pCommon, pCont, pDb->iDbId, &nClient, &nPrefetch);
          bcvBufferAppendU32(&rc, &buf, nClient);
          bcvBufferAppendU32(&rc, &buf, nPrefetch);
        }
      }