aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <dmoagx@users.noreply.github.com>2018-06-04 02:29:03 +0200
committerMax <dmoagx@users.noreply.github.com>2018-06-04 02:29:03 +0200
commit23c894c81794b8dd347ba79b8e4fc64498d22326 (patch)
treec158993e1c95f4a7395f1b300ad9e0aab5815e8d
parent148a5ec11d18b71987170b14cd16446fb100896b (diff)
downloadsequelpro-23c894c81794b8dd347ba79b8e4fc64498d22326.tar.gz
sequelpro-23c894c81794b8dd347ba79b8e4fc64498d22326.tar.bz2
sequelpro-23c894c81794b8dd347ba79b8e4fc64498d22326.zip
Minor error in previous commit…
-rw-r--r--Source/SPSQLExporter.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPSQLExporter.m b/Source/SPSQLExporter.m
index fabf3470..c4839444 100644
--- a/Source/SPSQLExporter.m
+++ b/Source/SPSQLExporter.m
@@ -248,7 +248,7 @@
}
else {
[errors appendFormat:@"%@ (%@)\n", NSLocalizedString(@"The server's SQL_MODE could not be changed to one suitable for export. The export may be missing important details or may not be importable at all!", @"sql export : 'set @@sql_mode' query failed message"), [connection lastErrorMessage]];
- [self writeUTF8String:[NSString stringWithFormat:@"# SET SQL_MODE Error: %@\n\n\n", [connection lastErrorMessage]]];
+ [metaString appendFormat:@"# SET SQL_MODE Error: %@\n\n\n", [connection lastErrorMessage]];
//if we couldn't change it, we don't need to restore it either
oldSqlMode = nil;
}