Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
There goes old Xcode again... 😩
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
Frameworks/SPMySQLFramework/Source/SPMySQLResult.m
|
@@ -344,7 +344,7 @@ - (NSString *)_lossyStringWithBytes:(const void *)bytes length:(NSUInteger)lengt |
|
|
|
|
|
//if even that failed we lose. |
|
|
NSDictionary *info = @{ @"data": [NSData dataWithBytes:bytes length:length] }; |
|
|
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]; |
|
|
@throw [NSException exceptionWithName:NSInternalInconsistencyException reason:reason userInfo:info]; |
|
|
} |
|
|
|
|
|