diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-09-26 11:44:19 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-09-26 11:44:19 +0000 |
commit | 0dbc2fe46d3f496b2e6e7be784352767572b6df1 (patch) | |
tree | 1eb58bdb36c184574a59d3ec0449dd328b9ead5f /Source/TableDump.h | |
parent | d14a032b6d2ea3c75f46b977e62afc958ae29db2 (diff) | |
download | sequelpro-0dbc2fe46d3f496b2e6e7be784352767572b6df1.tar.gz sequelpro-0dbc2fe46d3f496b2e6e7be784352767572b6df1.tar.bz2 sequelpro-0dbc2fe46d3f496b2e6e7be784352767572b6df1.zip |
• if the user chose to open a SQL file which is larger than 1MB SP asks for confirmation, furthermore if a connection is available the user can choose 'Import' instead of loading it into the Query Editor for cases that an user invoked 'Open…' accidentally instead of 'Import…'
Diffstat (limited to 'Source/TableDump.h')
-rw-r--r-- | Source/TableDump.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/TableDump.h b/Source/TableDump.h index de659fa2..dd9ffd6c 100644 --- a/Source/TableDump.h +++ b/Source/TableDump.h @@ -119,8 +119,9 @@ // Import methods - (void)importFile; -- (void) importSQLFile:(NSString *)filename; -- (void) importCSVFile:(NSString *)filename; +- (void)importSQLFile:(NSString *)filename; +- (void)startSQLImportProcessWithFile:(NSString *)filename; +- (void)importCSVFile:(NSString *)filename; - (IBAction)changeFormat:(id)sender; - (IBAction)changeTable:(id)sender; - (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo; |