Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And I guess there's no way to create a transaction between the file system and the sqlite db. I've often thought that would be a useful feature sometimes - maybe something in the sqlite API could write your file, and then commit when verified on the filesystem.


I often promise myself to have a look at SQLite virtual file system API, for this very purpose, but could not yet find the guts :-)


That could have problems itself if the filesystem action succeeded but then the SQLite commit failed. Transactionality is hard!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: