/ Check-in [9ef99d97]
Login

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

Overview
Comment:Fix a typo that (by bad luck) was not a syntax error but which caused some important lines of code to be skipped when SQLITE_DEBUG was not used.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9ef99d97d25aae81df971d40ad10c544b8f30053
User & Date: drh 2010-05-14 20:15:52
Context
2010-05-15
01:09
Silently ignore errors trying to set the default journal_mode while doing an ATTACH. check-in: b9af4ad2 user: drh tags: trunk
2010-05-14
20:15
Fix a typo that (by bad luck) was not a syntax error but which caused some important lines of code to be skipped when SQLITE_DEBUG was not used. check-in: 9ef99d97 user: drh tags: trunk
19:24
Make sure the value of an INTEGER PRIMARY KEY column supplied to triggers and especially to FK constraints really contains the ROWID and not the NULL that is stored in the column itself. Ticket [dd08e5a988d00dec]. check-in: 636f8609 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_unix.c.

  1422   1422         if( pFile->isDelete ){
  1423   1423           unlink(pFile->pId->zCanonicalName);
  1424   1424         }
  1425   1425         vxworksReleaseFileId(pFile->pId);
  1426   1426         pFile->pId = 0;
  1427   1427       }
  1428   1428   #endif
  1429         -    OSTRACE(("CLOSE   %-3d\n", pFile->h);
         1429  +    OSTRACE(("CLOSE   %-3d\n", pFile->h));
  1430   1430       OpenCounter(-1);
  1431   1431       sqlite3_free(pFile->pUnused);
  1432         -    memset(pFile, 0, sizeof(unixFile)));
         1432  +    memset(pFile, 0, sizeof(unixFile));
  1433   1433     }
  1434   1434     return SQLITE_OK;
  1435   1435   }
  1436   1436   
  1437   1437   /*
  1438   1438   ** Close a file.
  1439   1439   */