Skip to content

Commit

Permalink
Minor error in previous commit…
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoagx committed Jun 4, 2018
1 parent 148a5ec commit 23c894c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/SPSQLExporter.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 23c894c

Please sign in to comment.