System.Data.SQLite
Check-in [a7c52f8f33]
Not logged in

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

Overview
Comment:Avoid trying to use SleepEx on Windows CE.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a7c52f8f33e33b65772847fd9d931647a08f601b
User & Date: mistachkin 2013-01-30 21:38:17
Context
2013-01-31
03:24
Centralize building of the column type name map. Remove AUTOINCREMENT from the column type name map. Add BIGUINT, SMALLUINT, TINYSINT, and ULONG to the column type name map. check-in: c7b39f9c3b user: mistachkin tags: trunk
02:25
Add test for ticket [c010fa6584]. check-in: 064c0bbe3d user: mistachkin tags: tkt-c010fa6584
2013-01-30
21:38
Avoid trying to use SleepEx on Windows CE. check-in: a7c52f8f33 user: mistachkin tags: trunk
01:00
Support automatic value conversions for columns with a declared type of INTEGER8, INTEGER16, INTEGER32, INTEGER64, UNSIGNEDINTEGER, UNSIGNEDINTEGER8, UNSIGNEDINTEGER16, UNSIGNEDINTEGER32, UNSIGNEDINTEGER64, INT8, INT16, INT32, INT64, UINT, UINT8, UINT16, UINT32, or UINT64. check-in: ad2b42f3cc user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to SQLite.Interop/src/win/interop.c.

   789    789   ){
   790    790     int m;
   791    791     if( argc!=1 ){
   792    792       sqlite3_result_error(context, "need exactly one argument", -1);
   793    793       return;
   794    794     }
   795    795     m = sqlite3_value_int(argv[0]);
          796  +#if SQLITE_OS_WINCE
          797  +  Sleep(m);
          798  +  sqlite3_result_int(context, WAIT_OBJECT_0);
          799  +#else
   796    800     sqlite3_result_int(context, SleepEx(m, TRUE));
          801  +#endif
   797    802   }
   798    803   
   799    804   /* SQLite invokes this routine once when it loads the extension.
   800    805   ** Create new functions, collating sequences, and virtual table
   801    806   ** modules here.  This is usually the only exported symbol in
   802    807   ** the shared library.
   803    808   */