Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error (RT) in LogErrors: failed. Sqlite error 5
#1
Hello All,
In my Error log, I write to a Sqlite Database file. Occasionally I get this in the QM output, presumably from the function trying to write an error to the Db3 in the LogErrors function: Error (RT) in LogErrors: failed. Sqlite error 5. database is locked. ?

This may be more of a sqlite question than QM, so any Sqliter's out there. I close out my instance of the Db like this:


Code:
Copy      Help
Sqlite ErrorLogDb.Open(ErrorLogDbPath)
ErrorLogDb.Exec(ErrorLogExecFormat)
ErrorLogDb.Close

whenever writing or reading from it in other functions. I thought Sqlite was supposed to be able to handle all these different queries simultaneously.

Any thoughts,
S


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)