/ Check-in [ccd709e1]
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:More untested changes for wince contributed by users. Ticket #2702. (CVS 4479)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ccd709e1791b1c1091a61139633b972b378c1816
User & Date: drh 2007-10-08 15:06:04
Context
2007-10-09
08:29
Fixes to the test suite (no code changes) so that quick.test runs with OMIT_ATTACH builds. #2706. (CVS 4480) check-in: 07c00fff user: danielk1977 tags: trunk
2007-10-08
15:06
More untested changes for wince contributed by users. Ticket #2702. (CVS 4479) check-in: ccd709e1 user: drh tags: trunk
12:29
Reverting check-in (3836) at the request of winCE users. We no ability to test this change. Presumably this is a fix for tickets #2698, #2533, and #2598. It is unclear if this causes #2294 to be reopened or not. (CVS 4478) check-in: 27346fa5 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_win.c.

  1100   1100     if( flags & SQLITE_OPEN_MAIN_DB ){
  1101   1101       dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE;
  1102   1102     }else{
  1103   1103       dwShareMode = 0;
  1104   1104     }
  1105   1105     if( flags & (SQLITE_OPEN_TEMP_DB | SQLITE_OPEN_TEMP_JOURNAL
  1106   1106                       | SQLITE_OPEN_SUBJOURNAL) ){
         1107  +#if OS_WINCE
         1108  +    dwFlagsAndAttributes = FILE_ATTRIBUTE_HIDDEN;
         1109  +#else
  1107   1110       dwFlagsAndAttributes = FILE_ATTRIBUTE_TEMPORARY
  1108   1111                                  | FILE_ATTRIBUTE_HIDDEN
  1109   1112                                  | FILE_FLAG_DELETE_ON_CLOSE;
         1113  +#endif
  1110   1114     }else{
  1111   1115       dwFlagsAndAttributes = FILE_ATTRIBUTE_NORMAL;
  1112   1116     }
  1113   1117   #if 0
  1114   1118     if( flags & (SQLITE_OPEN_MAIN_DB | SQLITE_OPEN_TEMP_DB) ){
  1115   1119       dwFlagsAndAttributes |= FILE_FLAG_RANDOM_ACCESS;
  1116   1120     }else{
................................................................................
  1333   1337     cygwin_conv_to_full_win32_path(zRelative, zFull);
  1334   1338     return SQLITE_OK;
  1335   1339   #endif
  1336   1340   
  1337   1341   #if OS_WINCE
  1338   1342     /* WinCE has no concept of a relative pathname, or so I am told. */
  1339   1343     sqlite3_snprintf(pVfs->mxPathname, zFull, "%s", zRelative);
         1344  +  return SQLTIE_OK;
  1340   1345   #endif
  1341   1346   
  1342   1347   #if !OS_WINCE && !defined(__CYGWIN__)
  1343   1348     int nByte;
  1344   1349     void *zConverted;
  1345   1350     char *zOut;
  1346   1351     zConverted = convertUtf8Filename(zRelative);