luislavena/sqlite3-ruby — pull request #75 by dxj19831029 (2012-11-01 07:09:46+00:00)
Title: fix multi-thread busy exception problem.

only need ext/sqlite3/database.* files.

It should fix throw busy_exception sometimes, which is accessing by activerecord in multi-thread environment.

sry, didn't add test case for it.

Reproduce steps:

basically, run 10 threads, and do transaction job for 10000 times:
1. select
2. and then update db at same time,
it will throw busy exception sometimes.