diff options
author | rowanbeentje <rowan@beent.je> | 2009-08-17 09:38:57 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-08-17 09:38:57 +0000 |
commit | 1f986f1be7521d3323ac6412a623dc825c56db83 (patch) | |
tree | e5b94b3c30e6cf8224577f64857f70824f50fd73 | |
parent | 2a474905d21f475d4f5c2157da7972f712a0c73c (diff) | |
download | sequelpro-1f986f1be7521d3323ac6412a623dc825c56db83.tar.gz sequelpro-1f986f1be7521d3323ac6412a623dc825c56db83.tar.bz2 sequelpro-1f986f1be7521d3323ac6412a623dc825c56db83.zip |
- Fix field names in new import following classic last-minute change...
-rw-r--r-- | Source/TableDump.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableDump.m b/Source/TableDump.m index e027230c..93855bf4 100644 --- a/Source/TableDump.m +++ b/Source/TableDump.m @@ -1010,7 +1010,7 @@ // Set up a result set in streaming mode streamingResult = [mySQLConnection streamingQueryString:[NSString stringWithFormat:@"SELECT * FROM %@", [tableName backtickQuotedString]]]; - fieldNames = [queryResult fetchFieldNames]; + fieldNames = [streamingResult fetchFieldNames]; // Update the progress text and set the progress bar back to determinate [singleProgressText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Table %i of %i (%@): Dumping...", @"text showing that app is writing data for table dump"), (i+1), [selectedTables count], tableName]]; |