/ Check-in [d7ed529f]
Login

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

Overview
Comment:Fix typo in Windows makefile. Make sure the WaitForSingleObjectEx system call is always available.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | threads
Files: files | file ages | folders
SHA1: d7ed529fa2aa5cb13edaabca2acaad06dffef569
User & Date: mistachkin 2014-05-02 19:12:37
Context
2014-05-03
11:22
Add the SQLITE_DEFAULT_WORKER_THREADS compile-time option. Fix a NULL-pointer dereference that can occur following OOM. check-in: e0dea89b user: drh tags: threads
2014-05-02
19:12
Fix typo in Windows makefile. Make sure the WaitForSingleObjectEx system call is always available. check-in: d7ed529f user: mistachkin tags: threads
18:46
Do not run the vdbeRecordCompareDebug() assert if pKeyInfo->db is NULL since in that case there would be no way to check for a memory allocation failure. check-in: 63ed2d6a user: drh tags: threads
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.msc.

   560    560            icu.lo insert.lo journal.lo legacy.lo loadext.lo \
   561    561            main.lo malloc.lo mem0.lo mem1.lo mem2.lo mem3.lo mem5.lo \
   562    562            memjournal.lo \
   563    563            mutex.lo mutex_noop.lo mutex_unix.lo mutex_w32.lo \
   564    564            notify.lo opcodes.lo os.lo os_unix.lo os_win.lo \
   565    565            pager.lo pcache.lo pcache1.lo pragma.lo prepare.lo printf.lo \
   566    566            random.lo resolve.lo rowset.lo rtree.lo select.lo status.lo \
   567         -         table.lo threads.o tokenize.lo trigger.lo \
          567  +         table.lo threads.lo tokenize.lo trigger.lo \
   568    568            update.lo util.lo vacuum.lo \
   569    569            vdbeapi.lo vdbeaux.lo vdbeblob.lo vdbemem.lo vdbesort.lo \
   570    570            vdbetrace.lo wal.lo walker.lo where.lo utf.lo vtab.lo
   571    571   
   572    572   # Object files for the amalgamation.
   573    573   #
   574    574   LIBOBJS1 = sqlite3.lo

Changes to src/os_win.c.

   944    944   #else
   945    945     { "WaitForSingleObject",     (SYSCALL)0,                       0 },
   946    946   #endif
   947    947   
   948    948   #define osWaitForSingleObject ((DWORD(WINAPI*)(HANDLE, \
   949    949           DWORD))aSyscall[63].pCurrent)
   950    950   
   951         -#if SQLITE_OS_WINRT
   952    951     { "WaitForSingleObjectEx",   (SYSCALL)WaitForSingleObjectEx,   0 },
   953         -#else
   954         -  { "WaitForSingleObjectEx",   (SYSCALL)0,                       0 },
   955         -#endif
   956    952   
   957    953   #define osWaitForSingleObjectEx ((DWORD(WINAPI*)(HANDLE,DWORD, \
   958    954           BOOL))aSyscall[64].pCurrent)
   959    955   
   960    956   #if SQLITE_OS_WINRT
   961    957     { "SetFilePointerEx",        (SYSCALL)SetFilePointerEx,        0 },
   962    958   #else