From 23c894c81794b8dd347ba79b8e4fc64498d22326 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 4 Jun 2018 02:29:03 +0200 Subject: =?UTF-8?q?Minor=20error=20in=20previous=20commit=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPSQLExporter.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3