aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
diff options
context:
space:
mode:
authorMax <dmoagx@users.noreply.github.com>2018-05-27 21:14:01 +0200
committerMax <dmoagx@users.noreply.github.com>2018-05-27 21:39:02 +0200
commit56817be6cc46742b75e23b021787eb006829b53f (patch)
treeb8a379413d6c305c770e32d1ddcffaa2b83df3f9 /Frameworks
parent99cb087a173152811d25fe60ca328f26250a6c22 (diff)
downloadsequelpro-56817be6cc46742b75e23b021787eb006829b53f.tar.gz
sequelpro-56817be6cc46742b75e23b021787eb006829b53f.tar.bz2
sequelpro-56817be6cc46742b75e23b021787eb006829b53f.zip
Internal Refactoring: Move MySQL Help viewer into own xib with own controller
Diffstat (limited to 'Frameworks')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m
index ce52f397..16ff22f3 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m
@@ -100,6 +100,7 @@
NSData *escapedData;
if (includeQuotes) {
+#warning This code assumes that the encoding cData is in is still ASCII-compatible which may not be the case (e.g. for UTF16, EBCDIC)
// Add quotes if requested
escBuffer[0] = '\'';
escBuffer[escapedLength+1] = '\'';