Skip to content

Commit ea196b6

Browse files
committed
Workaround for an exception when connecting to MySQL 8.0 (#2699)
1 parent d2b1a5b commit ea196b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Databases & Tables.m

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ - (NSArray *)databasesLike:(NSString *)nameLikeString
124124
// Perform the query and record state
125125
SPMySQLResult *databaseResult = [self queryString:databaseQuery];
126126
[databaseResult setDefaultRowReturnType:SPMySQLResultRowAsArray];
127+
[databaseResult setReturnDataAsStrings:YES]; //see #2699
127128

128129
// Retrieve the result into an array if the query was successful
129130
if (![self queryErrored]) {

0 commit comments

Comments
 (0)