/ Check-in [61bda876]
Login

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

Overview
Comment:Remove unused local variable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 61bda876af6df3170263d41d2933168305de58d2
User & Date: mistachkin 2011-09-02 15:08:28
Context
2011-09-03
17:07
Performance improvements to the external merge-sorter. Keep content on an in-memory linked lists rather than an ephemeral table prior to spilling to disk. Use the external merge-sorter to implement ORDER BY and GROUP BY in addition to CREATE INDEX. check-in: 4c43e8b2 user: drh tags: trunk
2011-09-02
15:08
Remove unused local variable. check-in: 61bda876 user: mistachkin tags: trunk
2011-08-31
23:57
Avoid using uninitialized variables after failures in the merge sort code. check-in: 2869ed28 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_win.c.

  1600   1600       }
  1601   1601       case SQLITE_FCNTL_CHUNK_SIZE: {
  1602   1602         pFile->szChunk = *(int *)pArg;
  1603   1603         return SQLITE_OK;
  1604   1604       }
  1605   1605       case SQLITE_FCNTL_SIZE_HINT: {
  1606   1606         if( pFile->szChunk>0 ){
  1607         -        winFile *pFile = (winFile*)id;
  1608   1607           sqlite3_int64 oldSz;
  1609   1608           int rc = winFileSize(id, &oldSz);
  1610   1609           if( rc==SQLITE_OK ){
  1611   1610             sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
  1612   1611             if( newSz>oldSz ){
  1613   1612               SimulateIOErrorBenign(1);
  1614   1613               rc = winTruncate(id, newSz);