aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDump.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-08-31 21:05:17 +0000
committerrowanbeentje <rowan@beent.je>2009-08-31 21:05:17 +0000
commit934f1d41fa8699b3baba3c4ab7631e136fee14b7 (patch)
tree7dc268c119f3ff881147a085b16a90039bfcb6e9 /Source/TableDump.h
parent046f4962f57099016340fc114e717ca279d8d5b7 (diff)
downloadsequelpro-934f1d41fa8699b3baba3c4ab7631e136fee14b7.tar.gz
sequelpro-934f1d41fa8699b3baba3c4ab7631e136fee14b7.tar.bz2
sequelpro-934f1d41fa8699b3baba3c4ab7631e136fee14b7.zip
Refactor CSV/SQL import structure slightly, and rewrite SQL import:
- SQL import now reads and processes files in full streaming mode, running queries as they are encountered - Memory usage during import is significantly reduced, and should stay within a few megabytes; the significant memory use remaining is for query logging - The progress bar more accurately represents progress and is shown at once (this addresses Issue #320)
Diffstat (limited to 'Source/TableDump.h')
-rw-r--r--Source/TableDump.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/TableDump.h b/Source/TableDump.h
index dc99d4bb..1dba02e2 100644
--- a/Source/TableDump.h
+++ b/Source/TableDump.h
@@ -116,6 +116,8 @@
// Import methods
- (void)importFile;
+- (void) importSQLFile:(NSString *)filename;
+- (void) importCSVFile:(NSString *)filename;
- (IBAction)changeFormat:(id)sender;
- (IBAction)changeTable:(id)sender;
- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo;