From ea196b6eaa3696f1d3c20b396d1f7f62e3b540fc Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 23 Feb 2017 02:43:49 +0100 Subject: Workaround for an exception when connecting to MySQL 8.0 (#2699) --- .../Source/SPMySQLConnection Categories/Databases & Tables.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Databases & Tables.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Databases & Tables.m index 0b9651f6..7b215db4 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Databases & Tables.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Databases & Tables.m @@ -124,6 +124,7 @@ // 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]) { -- cgit v1.2.3