/ Check-in [562d20e6]
Login

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

Overview
Comment:Reset the simulated device in the test harness to its default configuration whenever it is restarted.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 562d20e662da474ea326165730ecfdfcf9b414ee
User & Date: drh 2010-04-12 14:51:10
Context
2010-04-12
17:08
Fix a problem where a process in exclusive mode could delete a hot-journal file without rolling it back from within sqlite3_close() or DETACH. This problem was introduced by commits from the past few days; it is not present in any release. check-in: 51a61395 user: dan tags: trunk
14:51
Reset the simulated device in the test harness to its default configuration whenever it is restarted. check-in: 562d20e6 user: drh tags: trunk
2010-04-10
17:52
Fix issues and clarify the operation of pager_playback_one_page(). A block comment in pager.c identifies 13 invariants on the pager subsystem. Ticket [9d68c883132c8]. check-in: 09065976 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/test_devsym.c.

   342    342     if( g.pVfs==0 ){
   343    343       g.pVfs = sqlite3_vfs_find(0);
   344    344       devsym_vfs.szOsFile += g.pVfs->szOsFile;
   345    345       sqlite3_vfs_register(&devsym_vfs, 0);
   346    346     }
   347    347     if( iDeviceChar>=0 ){
   348    348       g.iDeviceChar = iDeviceChar;
          349  +  }else{
          350  +    g.iDeviceChar = 0;
   349    351     }
   350    352     if( iSectorSize>=0 ){
   351    353       g.iSectorSize = iSectorSize;
          354  +  }else{
          355  +    g.iSectorSize = 512;
   352    356     }
   353    357   }
   354    358   
   355    359   #endif