couchbase/couchbase-lite-net — pull request #316 by pasin (2014-09-24 06:05:05+00:00)
Title: Fix #314 Deadlock due to locking in sqlite3_prepare_v2

* Lock database as a whole operation instead of locking per command execution.

* Add sleep workaround at the end of ReplicationTest.TestPushManyNewDocuments to ensure that all pending replication tasks are all drained.