aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2017-02-23 02:43:49 +0100
committerMax <post@wickenrode.com>2017-02-23 02:43:49 +0100
commitea196b6eaa3696f1d3c20b396d1f7f62e3b540fc (patch)
treef51d1ef5ccca6dd7d7f0ba448f6d20090f4520c7
parentd2b1a5b84cb295eba8617f7e80681e0eeca46f0d (diff)
downloadsequelpro-ea196b6eaa3696f1d3c20b396d1f7f62e3b540fc.tar.gz
sequelpro-ea196b6eaa3696f1d3c20b396d1f7f62e3b540fc.tar.bz2
sequelpro-ea196b6eaa3696f1d3c20b396d1f7f62e3b540fc.zip
Workaround for an exception when connecting to MySQL 8.0 (#2699)
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Databases & Tables.m1
1 files changed, 1 insertions, 0 deletions
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]) {