Hi.  After upgrading from SQLite 3.6.22 to 3.7.2 an application that I work on 
generated a lot of SQLite related errors.

I think these errors have been traced to a change made in the winAccess(...) 
function.  Specifically the "return SQLITE_IOERR_ACCESS" line that was added.  
Removing the newly added winAccess section (from "WIN32_FILE_ATTRIBUTE_DATA 
..." through just before the "/* isNT" comment and replacing it with the 3.6.22 
"attr = GetFileAttributesW((WCHAR*)zConverted);") seems to prevent the errors.

Some more information about the context of the errors:  The 
sqlite3PagerSharedLock() function reaches the "failed:" case with a rc value != 
SQLITE_OK.  It gets that rc value from the "rc = 
pagerOpenWalIfPresent(pPager);" line (about 13 lines before the "failed:" case).

Is this a bug?

Thank you.

    Mike





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

Reply via email to