diff options
author | Max <post@wickenrode.com> | 2017-02-23 02:43:49 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2017-02-23 02:43:49 +0100 |
commit | ea196b6eaa3696f1d3c20b396d1f7f62e3b540fc (patch) | |
tree | f51d1ef5ccca6dd7d7f0ba448f6d20090f4520c7 /Frameworks/SPMySQLFramework/Source | |
parent | d2b1a5b84cb295eba8617f7e80681e0eeca46f0d (diff) | |
download | sequelpro-ea196b6eaa3696f1d3c20b396d1f7f62e3b540fc.tar.gz sequelpro-ea196b6eaa3696f1d3c20b396d1f7f62e3b540fc.tar.bz2 sequelpro-ea196b6eaa3696f1d3c20b396d1f7f62e3b540fc.zip |
Workaround for an exception when connecting to MySQL 8.0 (#2699)
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Databases & Tables.m | 1 |
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]) { |