sqlite: include busy wait for locks
authorSam Hartman <hartmans@debian.org>
Thu, 12 Mar 2015 18:49:04 +0000 (14:49 -0400)
committerSam Hartman <hartmans@debian.org>
Wed, 18 Mar 2015 19:49:28 +0000 (15:49 -0400)
commit81f0219dfde554457fda01a7bcf5efaeba3a5fd7
tree5d291b20a03779f63ca64ed31744f7b2faa4f740
parent3182652dc38323b3e6d566f4df01872a6a8ab249
sqlite: include busy wait for locks

Previously, sqlite would fail any query if there was a lock held on
the database, such as an outstanding write.  In practice this
generated failures even with low-volume writes to the database.
Permit a query to hang for up to 200 ms.
src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c