I'm using Windows 7, sqlite 3.7.17 compiled with a VS 2010.

When writing in a sqlite database configured with SQLITE_CONFIG_MMAP_SIZE, the database file atribute "Last Modified" isnt updated. According to 'MapViewOfFile' documentation [1],

"When modifying a file through a mapped view, the last modification timestamp may not be updated automatically. If required, the caller should use SetFileTime to set the timestamp."

I could create a workaround to fix this inside my application, but maybe it's sqlite responsibility to call SetFileTime after updating a database content.

[1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa366761(v=vs.85).aspx <http://msdn.microsoft.com/en-us/library/windows/desktop/aa366761%28v=vs.85%29.aspx>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to