/ Check-in [a41d2969]
Login

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

Overview
Comment:Fix static variable declaration issue on Windows.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | threads
Files: files | file ages | folders
SHA1: a41d29691307067523c8637b486941c5f7c33775
User & Date: mistachkin 2014-05-08 22:01:08
Context
2014-05-09
11:15
Add new static mutex SQLITE_MUTEX_STATIC_APP3. check-in: ee0ab09c user: dan tags: threads
2014-05-08
22:01
Experimental changes to pre-cache a database file prior to it being fully opened. check-in: 38cbcedb user: mistachkin tags: winPreCache
22:01
Fix static variable declaration issue on Windows. check-in: a41d2969 user: mistachkin tags: threads
2014-05-06
16:21
Add a little extra variety to the tests in sort4.test. check-in: 7de6aee6 user: dan tags: threads
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/mutex_w32.c.

    89     89   }
    90     90   #endif
    91     91   
    92     92   
    93     93   /*
    94     94   ** Initialize and deinitialize the mutex subsystem.
    95     95   */
    96         -static sqlite3_mutex winMutex_staticMutexes[6] = {
           96  +static sqlite3_mutex winMutex_staticMutexes[] = {
    97     97     SQLITE3_MUTEX_INITIALIZER,
    98     98     SQLITE3_MUTEX_INITIALIZER,
    99     99     SQLITE3_MUTEX_INITIALIZER,
   100    100     SQLITE3_MUTEX_INITIALIZER,
   101    101     SQLITE3_MUTEX_INITIALIZER,
   102    102     SQLITE3_MUTEX_INITIALIZER,
   103    103     SQLITE3_MUTEX_INITIALIZER,