/ Check-in [9ee39102]
Login

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

Overview
Comment:Issue a log message if the temporary directory has not been set when running on WinRT.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9ee39102942d4a4830417f61f0969f29ac0282a1
User & Date: mistachkin 2012-08-28 04:20:56
Context
2012-08-28
14:45
Fix a case where SQLite was failing to detect a syntax error in queries like "SELECT ... FROM (<select-1> UNION ALL <select-2>)" when <select-1> and <select-2> return different numbers of result columns. check-in: 200a8135 user: dan tags: trunk
04:20
Issue a log message if the temporary directory has not been set when running on WinRT. check-in: 9ee39102 user: mistachkin tags: trunk
01:44
Enable the use of a simpler command line when cross-compiling in the MSVC build environment. check-in: 8ade136a user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to src/os_win.c.

  3585   3585          || eType==SQLITE_OPEN_MAIN_JOURNAL || eType==SQLITE_OPEN_TEMP_JOURNAL 
  3586   3586          || eType==SQLITE_OPEN_SUBJOURNAL   || eType==SQLITE_OPEN_MASTER_JOURNAL 
  3587   3587          || eType==SQLITE_OPEN_TRANSIENT_DB || eType==SQLITE_OPEN_WAL
  3588   3588     );
  3589   3589   
  3590   3590     assert( id!=0 );
  3591   3591     UNUSED_PARAMETER(pVfs);
         3592  +
         3593  +#if SQLITE_OS_WINRT
         3594  +  if( !sqlite3_temp_directory ){
         3595  +    sqlite3_log(SQLITE_ERROR,
         3596  +        "sqlite3_temp_directory variable should be set for WinRT");
         3597  +  }
         3598  +#endif
  3592   3599   
  3593   3600     pFile->h = INVALID_HANDLE_VALUE;
  3594   3601   
  3595   3602     /* If the second argument to this function is NULL, generate a 
  3596   3603     ** temporary file name to use 
  3597   3604     */
  3598   3605     if( !zUtf8Name ){