|
@@ -233,13 +233,13 @@ - (NSTimeInterval)maxBusyRetryTimeInterval {
|
|
|
// we'll still implement the method so they don't get suprise crashes
|
|
// we'll still implement the method so they don't get suprise crashes
|
|
|
- (int)busyRetryTimeout {
|
|
- (int)busyRetryTimeout {
|
|
|
NSLog(@"%s:%d", __FUNCTION__, __LINE__);
|
|
NSLog(@"%s:%d", __FUNCTION__, __LINE__);
|
|
|
- NSLog(@"FMDB: busyRetryTimeout no longer works, please use retryTimeout");
|
|
|
|
|
|
|
+ NSLog(@"FMDB: busyRetryTimeout no longer works, please use maxBusyRetryTimeInterval");
|
|
|
return -1;
|
|
return -1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- (void)setBusyRetryTimeout:(int)i {
|
|
- (void)setBusyRetryTimeout:(int)i {
|
|
|
NSLog(@"%s:%d", __FUNCTION__, __LINE__);
|
|
NSLog(@"%s:%d", __FUNCTION__, __LINE__);
|
|
|
- NSLog(@"FMDB: setBusyRetryTimeout does nothing, please use setRetryTimeout:");
|
|
|
|
|
|
|
+ NSLog(@"FMDB: setBusyRetryTimeout does nothing, please use setMaxBusyRetryTimeInterval:");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#pragma mark Result set functions
|
|
#pragma mark Result set functions
|
|
@@ -1102,7 +1102,7 @@ int FMDBExecuteBulkSQLCallback(void *theBlockAsVoid, int columns, char **values,
|
|
|
|
|
|
|
|
int (^execCallbackBlock)(NSDictionary *resultsDictionary) = (__bridge int (^)(NSDictionary *__strong))(theBlockAsVoid);
|
|
int (^execCallbackBlock)(NSDictionary *resultsDictionary) = (__bridge int (^)(NSDictionary *__strong))(theBlockAsVoid);
|
|
|
|
|
|
|
|
- NSMutableDictionary *dictionary = [NSMutableDictionary dictionaryWithCapacity:columns];
|
|
|
|
|
|
|
+ NSMutableDictionary *dictionary = [NSMutableDictionary dictionaryWithCapacity:(NSUInteger)columns];
|
|
|
|
|
|
|
|
for (NSInteger i = 0; i < columns; i++) {
|
|
for (NSInteger i = 0; i < columns; i++) {
|
|
|
NSString *key = [NSString stringWithUTF8String:names[i]];
|
|
NSString *key = [NSString stringWithUTF8String:names[i]];
|