Add a deadlock check to -[FMDatabaseQueue inDatabase:]
Fixed consistency problems with errorsOnCrash
Merge pull request #223 from hartdev/master

Fixed consistency problems with errorsOnCrash
I hate tabs.
Merge pull request #224 from mikeash/master

Add a deadlock check to -[FMDatabaseQueue inDatabase:]
Contribs and notes.
Fixed [FMDatabase openWithFlags:] so it does not reopen the db unnecessarily

This is just copying what was done in [FMDatabase open:] by return YES if the database already exists. This solves a problem with issue #211 where any connection changes being made in the [FMDatabasePoolDelegeate databasePool: didAddDatabase:] would just get reset as the database would be reopened on each pool call. Likely inefficent as well.
Added in support for userVersion property

This uses '#PRAGMA user_version' to store/retrieve a uint32 value. According the sqlite3 docs can be used by applications for any purpose. It is useful for tracking database versions, and is used on by the Android SDK calls for that purpose, which can be helpful when doing cross platform work.
Removed an unnecessary header comment in FMDatabaseAdditions.h.
Merge pull request #225 from DanOranges/master

Fixed [FMDatabase openWithFlags:] so it does not reopen the db unnecessarily
Cleanup, and then while debugging a test, noticed that sqlite3_busy_timeout doesn't retry a sqlite3_step for you automatically.  So that's a problem that I'll need to fix.
More notes to self.
Added a static library for iOS.
Merge pull request #229 from pietrasm/master

Added a static library for iOS.
Adding back in a loop for catching database busy errors.  It needs to be added back in other spots as well, which I'll do - but I haven't thought of the best way to break out of the loop yet, so I'm going to request some comments on that.
Discovered sqlite3_busy_handler, and got to kill some ivars and code.  busyTimeout has been replaced by setMaxBusyRetryTimeInterval: - this is a _lot_ better than adding loops everywhere.
Create FMDB.h to include all the standard includes; moved framework code into its own subdirectory, “fmdb”; renamed fmdb.m to main.m to avoid confusion with new FMDB.h file; moved .pch and main.m into src/sample
Update podspec
Merge pull request #240 from robertmryan/master

Reorganized directory structure a little
Merge branch 'master' of https://github.com/ccgus/fmdb into busyloopback