/ Check-in [1589db01]
Login

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

Overview
Comment:Correct a harmless typo in the previous check-in.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1589db012ef1389bf84399fccf96d143b2ac4c0f
User & Date: mistachkin 2017-02-20 23:32:04
Context
2017-02-21
15:27
Very small enhancement to dispatch speed for SQL functions. check-in: 3c3228ed user: drh tags: trunk
14:04
The VDBE cycle counts for the sqlite3_progress_handler() callback are now cumulative. Leftovers from the previous statement are applied to the next statement. Leaf check-in: 7a62fc6a user: drh tags: cumulative-progress-count
13:29
Proof of concept for a "PRAGMA vdbe_cycle_limit=N" command. When N>0, invoke sqlite3_interrupt() whenever any byte code program uses more than N virtual machine cycles. Leaf check-in: 9626b41e user: drh tags: vdbe_cycle_limit
2017-02-20
23:32
Correct a harmless typo in the previous check-in. check-in: 1589db01 user: mistachkin tags: trunk
19:13
Avoid unsigned integer overflows for SQLITE_WIN32_HEAP_INIT_SIZE when the Win32 heap subsystem is used with very large values of SQLITE_DEFAULT_CACHE_SIZE and/or SQLITE_DEFAULT_PAGE_SIZE. check-in: 96b6a98e user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_win.c.

   395    395   #endif
   396    396   
   397    397   /*
   398    398    * Make sure that the calculated cache size, in pages, cannot cause the
   399    399    * initial size of the Win32-specific heap to exceed the maximum amount
   400    400    * of memory that can be specified in the call to HeapCreate.
   401    401    */
   402         -#if SQLITE_WIN32_CACHE_SIZE>=SQLITE_WIN32_MAX_CACHE_SIZE
          402  +#if SQLITE_WIN32_CACHE_SIZE>SQLITE_WIN32_MAX_CACHE_SIZE
   403    403   #  undef SQLITE_WIN32_CACHE_SIZE
   404    404   #  define SQLITE_WIN32_CACHE_SIZE       (2000)
   405    405   #endif
   406    406   
   407    407   /*
   408    408    * The initial size of the Win32-specific heap.  This value may be zero.
   409    409    */