We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d29af commit 0bfc077Copy full SHA for 0bfc077
‎Frameworks/SPMySQLFramework/Source/SPMySQLResult.m‎
@@ -344,7 +344,7 @@ - (NSString *)_lossyStringWithBytes:(const void *)bytes length:(NSUInteger)lengt
344
345
//if even that failed we lose.
346
NSDictionary *info = @{ @"data": [NSData dataWithBytes:bytes length:length] };
347
- NSString *reason = [NSString stringWithFormat:@"Failed to convert byte sequence %@ to string (encoding = %lu)",info[@"data"],stringEncoding];
+ NSString *reason = [NSString stringWithFormat:@"Failed to convert byte sequence %@ to string (encoding = %lu)",[info objectForKey:@"data"],stringEncoding];
348
@throw [NSException exceptionWithName:NSInternalInconsistencyException reason:reason userInfo:info];
349
}
350
0 commit comments