Permalink
Browse files

Minor error in previous commit…

  • Loading branch information...
dmoagx committed Jun 4, 2018
1 parent 148a5ec commit 23c894c81794b8dd347ba79b8e4fc64498d22326
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/SPSQLExporter.m
View
@@ -248,7 +248,7 @@ - (void)exportOperation
}
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;
}

0 comments on commit 23c894c

Please sign in to comment.