aboutsummaryrefslogtreecommitdiffstats
path: root/TableDump.m
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2008-12-05 16:53:23 +0000
committeravenjamin <avenjamin@gmail.com>2008-12-05 16:53:23 +0000
commite9aef1487ae6f889b5c98b48263a95140e89a274 (patch)
tree2dc76c8a6e6624c74b373d8b9721c17c0000e2d1 /TableDump.m
parentb0699390ce20fa73ddbb704b4532a10716ae9cab (diff)
downloadsequelpro-e9aef1487ae6f889b5c98b48263a95140e89a274.tar.gz
sequelpro-e9aef1487ae6f889b5c98b48263a95140e89a274.tar.bz2
sequelpro-e9aef1487ae6f889b5c98b48263a95140e89a274.zip
Changing table in field mapping sheet when importing CSV file now correctly imports the data into selected table.
Known Issue: a table must be selected in TABLES list before choosing Import... menu.
Diffstat (limited to 'TableDump.m')
-rw-r--r--TableDump.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/TableDump.m b/TableDump.m
index fd614817..93204438 100644
--- a/TableDump.m
+++ b/TableDump.m
@@ -547,7 +547,7 @@
//perform query
[mySQLConnection queryString:[NSString stringWithFormat:@"INSERT INTO `%@` (%@) VALUES (%@)",
- [tablesListInstance table],
+ [fieldMappingPopup titleOfSelectedItem],
fNames,
fValues]];