|
|
@@ -73,7 +73,7 @@ - (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags {
|
|
|
|
|
|
_path = FMDBReturnRetained(aPath);
|
|
|
|
|
|
- _queue = dispatch_queue_create([[NSString stringWithFormat:@"fmdb.%@", self] UTF8String], NULL);
|
|
|
+ _queue = dispatch_queue_create([[NSString stringWithFormat:@"fmdb.%@", self] UTF8String], DISPATCH_QUEUE_SERIAL);
|
|
|
dispatch_queue_set_specific(_queue, kDispatchQueueSpecificKey, (__bridge void *)self, NULL);
|
|
|
_openFlags = openFlags;
|
|
|
}
|