Browse Source

Quick fix, thanks to @kangchuh

August Mueller 11 years ago
parent
commit
6c20e62a0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/fmdb/FMDatabaseQueue.m

+ 1 - 1
src/fmdb/FMDatabaseQueue.m

@@ -123,7 +123,7 @@ - (FMDatabase*)database {
 #if SQLITE_VERSION_NUMBER >= 3005000
         BOOL success = [_db openWithFlags:_openFlags];
 #else
-        BOOL success = [db open];
+        BOOL success = [_db open];
 #endif
         if (!success) {
             NSLog(@"FMDatabaseQueue could not reopen database for path %@", _path);