/ Check-in [cca1eb3d]
Login

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

Overview
Comment:Change a parameter type from "int" to "DWORD" in the windows interface. Ticket #2122. (CVS 3540)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cca1eb3dfaa67d64ced3e49e7ddbd8db27a5526a
User & Date: drh 2006-12-21 00:46:42
Context
2006-12-21
01:29
Move the shared-library loading routines into the OS portability layer, thus enabling the os_win.c code to handle the character encoding confusion of win95/nt/ce. Ticket #2023. (CVS 3541) check-in: a1bcc6de user: drh tags: trunk
00:46
Change a parameter type from "int" to "DWORD" in the windows interface. Ticket #2122. (CVS 3540) check-in: cca1eb3d user: drh tags: trunk
2006-12-20
14:53
The xFilter method is not optional. (CVS 3539) check-in: 6fdbd3bc user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_win.c.

   754    754   ** To work around this bug, we pause for 100 milliseconds and attempt
   755    755   ** a second open after the first one fails.  The whole operation only
   756    756   ** fails if both open attempts are unsuccessful.
   757    757   */
   758    758   int sqlite3WinOpenExclusive(const char *zFilename, OsFile **pId, int delFlag){
   759    759     winFile f;
   760    760     HANDLE h;
   761         -  int fileflags;
          761  +  DWORD fileflags;
   762    762     void *zConverted = convertUtf8Filename(zFilename);
   763    763     if( zConverted==0 ){
   764    764       return SQLITE_NOMEM;
   765    765     }
   766    766     assert( *pId == 0 );
   767    767     fileflags = FILE_FLAG_RANDOM_ACCESS;
   768    768   #if !OS_WINCE