Saturday 15 August 2015

c - How does BUSY_TIMEOUT works in SQLITE -



c - How does BUSY_TIMEOUT works in SQLITE -

i have confusions regarding busy_timeout sqlite 3.

if set busy_timeout when open database, survive during whole cycle? secodly if survives, create every query wait busy_timeout time in case database locked?

the busy_timeout setting per session, i.e., need set 1 time per opened database. the database wait when tries lock database file, i.e., when have first read or write access in transaction, or when utilize explicit lock.

c database sqlite3

No comments:

Post a Comment