/ Check-in [f500e87d]
Login

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

Overview
Comment:Remove a stray C99-style comment.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | overflow-pgno-cache
Files: files | file ages | folders
SHA1:f500e87d6ec6fa43c13f4e94edf32789f36e4233
User & Date: drh 2014-03-11 23:44:10
Context
2014-03-20
18:56
Only use the direct-overflow-read optimization if all data from the overflow page in question is being read. check-in: d8e1f75d user: dan tags: overflow-pgno-cache
2014-03-11
23:44
Remove a stray C99-style comment. check-in: f500e87d user: drh tags: overflow-pgno-cache
23:40
Combine the various boolean fields of the BtCursor object into a single bit-vector. This allows setting or clearing more than one boolean at a time and makes the overflow-pgno-cache branch faster than trunk on speedtest1. check-in: 968fec44 user: drh tags: overflow-pgno-cache
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/btree.c.

  4333   4333     MemPage *pRoot;
  4334   4334     int rc = SQLITE_OK;
  4335   4335   
  4336   4336     assert( cursorHoldsMutex(pCur) );
  4337   4337     assert( CURSOR_INVALID < CURSOR_REQUIRESEEK );
  4338   4338     assert( CURSOR_VALID   < CURSOR_REQUIRESEEK );
  4339   4339     assert( CURSOR_FAULT   > CURSOR_REQUIRESEEK );
  4340         -//  invalidateOverflowCache(pCur);
  4341   4340     if( pCur->eState>=CURSOR_REQUIRESEEK ){
  4342   4341       if( pCur->eState==CURSOR_FAULT ){
  4343   4342         assert( pCur->skipNext!=SQLITE_OK );
  4344   4343         return pCur->skipNext;
  4345   4344       }
  4346   4345       sqlite3BtreeClearCursor(pCur);
  4347   4346     }