/ Check-in [5c5c1f72]
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:Remove dead code from os_win.c. Ticket #3232. (CVS 5441)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5c5c1f72797e4ceb229b8e3a7c65e5f173bb9e1a
User & Date: drh 2008-07-18 23:47:43
Context
2008-07-19
11:49
Improve the performance of balance_nonroot() on auto-vacuum databases by reducing the number of calls to ptrmapPut(). (CVS 5442) check-in: 9992b1ae user: danielk1977 tags: trunk
2008-07-18
23:47
Remove dead code from os_win.c. Ticket #3232. (CVS 5441) check-in: 5c5c1f72 user: drh tags: trunk
18:56
Use the actual size of memory allocations to update the memory status counters. Fix the roundup() function of mem3 to be much closer to the actual allocation size. Ticket #3226. (CVS 5440) check-in: 5c22132e user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_win.c.

     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   ******************************************************************************
    12     12   **
    13     13   ** This file contains code that is specific to windows.
    14     14   **
    15         -** $Id: os_win.c,v 1.129 2008/06/26 10:41:19 danielk1977 Exp $
           15  +** $Id: os_win.c,v 1.130 2008/07/18 23:47:43 drh Exp $
    16     16   */
    17     17   #include "sqliteInt.h"
    18     18   #if SQLITE_OS_WIN               /* This file is used for windows only */
    19     19   
    20     20   
    21     21   /*
    22     22   ** A Note About Memory Allocation:
................................................................................
  1419   1419     void *zConverted = convertUtf8Filename(zFilename);
  1420   1420     if( zConverted==0 ){
  1421   1421       return 0;
  1422   1422     }
  1423   1423     if( isNT() ){
  1424   1424       h = LoadLibraryW((WCHAR*)zConverted);
  1425   1425     }else{
  1426         -#if SQLITE_OS_WINCE
  1427         -    return 0;
  1428         -#else
  1429   1426       h = LoadLibraryA((char*)zConverted);
  1430         -#endif
  1431   1427     }
  1432   1428     free(zConverted);
  1433   1429     return (void*)h;
  1434   1430   }
  1435   1431   static void winDlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){
  1436   1432   #if SQLITE_OS_WINCE
  1437   1433     int error = GetLastError();