Here is some more info abut the new winAccess errors.

The errors are occuring with a Windows7 64-bit SQLite-dependent application.  
The SQLite .db files are on a Windows Server 2003 shared drive.


The GetLastError that winAccess(...) is detecting is:
ERROR_BAD_NET_RESP  58 (0x3A)
The specified server cannot perform the requested operation.

Maybe there is another "get file attributes" function that wouldn't fail as 
often as GetFileAttributesExW?
 

The error often occurs when SQLite is checking if a WAL file exists (with the 
following callstack):

winAccess
sqlite3OsAccess
pagerOpenWalIfPresent
sqlite3PagerSharedLock
lockBtree
sqliteBeginTrans
sqlite3VdbeExec
sqlite3Step
sqlite3_step


The error sometimes occurs when SQLite is checking if a journal file exists 
(with the following callstack):

winAccess
sqlite3OsAccess
hasHotJournal
sqlite3PagerSharedLock
lockBtree
sqlite3BtreeBeginTrans
sqlite3VdbeExec
sqlite3Step
sqlite3_step

I think these .db files are being openned with SQLITE_OPEN_READONLY so it would 
seem like these checks for journal and WAL files would be unnecisary.  The 
checks seem to be preventing reads from working.

Thank you.

    Mike







_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to