World: r3wp
[SQLite] C library embeddable DB .
older | first |
amacleod 7-Mar-2011 [1153] | xp and vista. I just had the issue on vista. I do not remember if it has occured on my xp machine. Why Graham? desktop as opposed to server? |
ddharing 7-Mar-2011 [1154] | What version of SQLite are you using? What is the pragma setting for synchronous? 2 is the safest. Are any processes that use the database still running when you have the problem trying to delete the database files? |
amacleod 7-Mar-2011 [1155x2] | Not sure on the version? (you are talking about the dll? or .r?) Pragma setting? Not familiar with this. Yes, my script is running still. That's my problem. I wanted to over write without having to close script down...I worked that out with a restart...good enough for now. |
.r = 1.0.4 i see its up to 1.0.6... I'll try out the newer version...thanks | |
Kaj 7-Mar-2011 [1157] | I'm regularly having corruption in my Firefox 3.5 bookmarks, which are stored in SQLite |
ddharing 7-Mar-2011 [1158x2] | I'm referring to the SQLite version. The current is 3.7.5. You can check the synchronous setting by executing the following query -- pragma synchronous. It will return a 0 (off), 1(normal) or 2 (full). See http://sqlite.org/pragma.html#pragma_synchronous. I've had database corruption before because I didn't backup the files correctly. It's best to use the backup API and not just copy the files. |
Is there just one process accessing the files? I also use the WAL journal mode for better concurrency. Much less chance of getting SQLIte file locks when multiple processes are reading/writing the database. See http://sqlite.org/pragma.html#pragma_journal_mode. | |
GrahamC 8-Mar-2011 [1160:last] | desktop because people run all sorts of junk on their PCs causing corruption! |
older | first |