/ Check-in [c0dbac46]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Fix a typo in a comment. Ticket #2348. (CVS 3966)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c0dbac46301039246afd4bebb71dd8184fc5c0c7
User & Date: drh 2007-05-09 20:35:31
Context
2007-05-09
22:56
Make sure compound queries inside a subquery only return a single result column. Ticket #2347. (CVS 3967) check-in: 66954bdd user: drh tags: trunk
20:35
Fix a typo in a comment. Ticket #2348. (CVS 3966) check-in: c0dbac46 user: drh tags: trunk
20:31
Fix a problem with strange expressions being fed to an ATTACH or DETACH statement. (CVS 3965) check-in: 0c91dc9e user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pager.c.

    14     14   ** The pager is used to access a database disk file.  It implements
    15     15   ** atomic commit and rollback through the use of a journal file that
    16     16   ** is separate from the database file.  The pager also implements file
    17     17   ** locking to prevent two processes from writing the same database
    18     18   ** file simultaneously, or one process from reading the database while
    19     19   ** another is writing.
    20     20   **
    21         -** @(#) $Id: pager.c,v 1.339 2007/05/09 15:56:40 danielk1977 Exp $
           21  +** @(#) $Id: pager.c,v 1.340 2007/05/09 20:35:31 drh Exp $
    22     22   */
    23     23   #ifndef SQLITE_OMIT_DISKIO
    24     24   #include "sqliteInt.h"
    25     25   #include "os.h"
    26     26   #include "pager.h"
    27     27   #include <assert.h>
    28     28   #include <string.h>
................................................................................
  2824   2824           ** Database changes is detected by looking at 15 bytes beginning
  2825   2825           ** at offset 24 into the file.  The first 4 of these 16 bytes are
  2826   2826           ** a 32-bit counter that is incremented with each change.  The
  2827   2827           ** other bytes change randomly with each file change when
  2828   2828           ** a codec is in use.
  2829   2829           ** 
  2830   2830           ** There is a vanishingly small chance that a change will not be 
  2831         -        ** deteched.  The chance of an undetected change is so small that
         2831  +        ** detected.  The chance of an undetected change is so small that
  2832   2832           ** it can be neglected.
  2833   2833           */
  2834   2834           char dbFileVers[sizeof(pPager->dbFileVers)];
  2835   2835           sqlite3PagerPagecount(pPager);
  2836   2836   
  2837   2837           if( pPager->errCode ){
  2838   2838             return pPager->errCode;