Permalink
Browse files

Workaround for an exception when connecting to MySQL 8.0 (#2699)

  • Loading branch information...
dmoagx committed Feb 23, 2017
1 parent d2b1a5b commit ea196b6eaa3696f1d3c20b396d1f7f62e3b540fc
@@ -124,6 +124,7 @@ - (NSArray *)databasesLike:(NSString *)nameLikeString
// Perform the query and record state
SPMySQLResult *databaseResult = [self queryString:databaseQuery];
[databaseResult setDefaultRowReturnType:SPMySQLResultRowAsArray];
+ [databaseResult setReturnDataAsStrings:YES]; //see #2699
// Retrieve the result into an array if the query was successful
if (![self queryErrored]) {

0 comments on commit ea196b6

Please sign in to comment.