ccgus/fmdb — pull request #70 by gcamp (2012-05-14 04:07:03+00:00)
Title: Avoid dead lock

We need to check if the current queue is the FMDatabaseQueue's _queue to avoid any deadlock when calling dispatch_sync.

Don't know if it's just a programming error to call inDatabase: inside a inDatabase:, but if I didn't made this change I had to make a lot of code changes.