Muharrem Bilgin wrote:
> 
> Hi Joe,
> Answers below.
> 
> Is the directory obtained via the
> Windows::Storage::ApplicationData::Current->LocalFolder->Path property?
> ====> Yes
> 
> What SQLite warning/error log entries are you seeing when you set the
> temporary directory to the LocalState directory?
> ====> Nothing. sqlite returns success when the LocalState directory is
set.
> Many queries are run in between. No errors until the query in question is
> run in which case sqlite reports "sqlite3_temp_directory variable should
be
> set for WinRT", and sqlite3_step() returns SQLITE_ERROR.
> 
> Does the application have full read/write access to that directory?
> ====> Yes, the application can create temp files in this directory.
> 
> Are any PRAGMAs being executed prior to the query with the issue?
> ====> No
> 
> Many thanks,
> MB
> 

Is the sqlite3_shutdown() function being called at some point?  If so, the
temporary directory will need to be reset after that point.

--
Joe Mistachkin

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to