/ Check-in [9af1d4d1]
Login

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

Overview
Comment:Fix a typo in a comment. (CVS 1889)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9af1d4d1456d32c2e15f73f79928572f3bfba6ae
User & Date: drh 2004-08-17 10:42:55
Context
2004-08-18
02:10
Avoid creating a TEMP database unless it is absolutely necessary. (CVS 1890) check-in: 5914a11c user: drh tags: trunk
2004-08-17
10:42
Fix a typo in a comment. (CVS 1889) check-in: 9af1d4d1 user: drh tags: trunk
2004-08-14
19:20
If meta(3)>0 then make the database readonly for now. This allows the current database to interact with future releases that might include autovacuum. (CVS 1888) check-in: 7619bf47 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/date.c.

    12     12   ** This file contains the C functions that implement date and time
    13     13   ** functions for SQLite.  
    14     14   **
    15     15   ** There is only one exported symbol in this file - the function
    16     16   ** sqlite3RegisterDateTimeFunctions() found at the bottom of the file.
    17     17   ** All other code has file scope.
    18     18   **
    19         -** $Id: date.c,v 1.33 2004/08/08 20:22:17 drh Exp $
           19  +** $Id: date.c,v 1.34 2004/08/17 10:42:55 drh Exp $
    20     20   **
    21     21   ** NOTES:
    22     22   **
    23     23   ** SQLite processes all times and dates as Julian Day numbers.  The
    24     24   ** dates and times are stored as the number of days since noon
    25     25   ** in Greenwich on November 24, 4714 B.C. according to the Gregorian
    26     26   ** calendar system.
................................................................................
   500    500         }
   501    501         break;
   502    502       }
   503    503       case 'w': {
   504    504         /*
   505    505         **    weekday N
   506    506         **
   507         -      ** Move the date to the same time on the next occurrance of
          507  +      ** Move the date to the same time on the next occurrence of
   508    508         ** weekday N where 0==Sunday, 1==Monday, and so forth.  If the
   509    509         ** date is already on the appropriate weekday, this is a no-op.
   510    510         */
   511    511         if( strncmp(z, "weekday ", 8)==0 && getValue(&z[8],&r)>0
   512    512                    && (n=r)==r && n>=0 && r<7 ){
   513    513           int Z;
   514    514           computeYMD_HMS(p);