Issue a log message if the temporary directory has not been set when running on WinRT.

FossilOrigin-Name: 9ee39102942d4a4830417f61f0969f29ac0282a1
This commit is contained in:
mistachkin 2012-08-28 04:20:56 +00:00
parent 52fd8e1d0d
commit af52973724
3 changed files with 14 additions and 7 deletions

View File

@ -1,5 +1,5 @@
C Enable\sthe\suse\sof\sa\ssimpler\scommand\sline\swhen\scross-compiling\sin\sthe\sMSVC\sbuild\senvironment.
D 2012-08-28T01:44:13.631
C Issue\sa\slog\smessage\sif\sthe\stemporary\sdirectory\shas\snot\sbeen\sset\swhen\srunning\son\sWinRT.
D 2012-08-28T04:20:56.059
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in abd5c10d21d1395f140d9e50ea999df8fa4d6376
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@ -163,7 +163,7 @@ F src/os.c e1acdc09ff3ac2412945cca9766e2dcf4675f31c
F src/os.h 027491c77d2404c0a678bb3fb06286f331eb9b57
F src/os_common.h 92815ed65f805560b66166e3583470ff94478f04
F src/os_unix.c 69b2fe66316524eebf5f1ce85c1fdfe2952307e9
F src/os_win.c 421cfe2f2b4293a3ca9447be42fdc3ef2e8679de
F src/os_win.c 3a18cdb28120ddc1211b6496b7e1e8547672a1e3
F src/pager.c 5665fa9ecec51f11dabdfd8eefefa89391856007
F src/pager.h 8b8c9bc065a3c66769df8724dfdf492ee1aab3c5
F src/parse.y f29df90bd3adc64b33114ab1de9fb7768fcf2099
@ -1013,7 +1013,7 @@ F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
F tool/win/sqlite.vsix 67d8a99aceb56384a81b3f30d6c71743146d2cc9
P 5b4b39788ed9ac5962a17315d5549fc5e3f38c5e
R 0a51fd3185f2bb057b5395e10c07c688
P 8ade136a038ee71d741af4a9f9e692fdff4e7911
R 0fb2efee96b5058ad80340b8d86ef5c4
U mistachkin
Z 706c5b15d500beca34f770e5dc0a20e0
Z 68b816fb6b2cb398ec0e5fa744bb47cf

View File

@ -1 +1 @@
8ade136a038ee71d741af4a9f9e692fdff4e7911
9ee39102942d4a4830417f61f0969f29ac0282a1

View File

@ -3590,6 +3590,13 @@ static int winOpen(
assert( id!=0 );
UNUSED_PARAMETER(pVfs);
#if SQLITE_OS_WINRT
if( !sqlite3_temp_directory ){
sqlite3_log(SQLITE_ERROR,
"sqlite3_temp_directory variable should be set for WinRT");
}
#endif
pFile->h = INVALID_HANDLE_VALUE;
/* If the second argument to this function is NULL, generate a