aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-07-14 19:34:40 +0000
committerBibiko <bibiko@eva.mpg.de>2009-07-14 19:34:40 +0000
commit0612652448f32e620a96e923a44b463fa1b9e0dc (patch)
treec77ff4cd7596aed10e445d0051620ecfbe295f7e /Source/TableDocument.h
parent6686223d2c30a7b99b8de11a8659851725f6326f (diff)
downloadsequelpro-0612652448f32e620a96e923a44b463fa1b9e0dc.tar.gz
sequelpro-0612652448f32e620a96e923a44b463fa1b9e0dc.tar.bz2
sequelpro-0612652448f32e620a96e923a44b463fa1b9e0dc.zip
• fix for completion in CustomQuery editor
- now the gathering of suggestions does not query the MySQL connection, instead it uses the TableList/TableDocument tableView data as a kind of cache - this approach should improve the speed for slow server connections TODO: auto-update for TableList and Database List resp. (it could happen that an other user changed the name of a table/db meanwhile)
Diffstat (limited to 'Source/TableDocument.h')
-rw-r--r--Source/TableDocument.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/TableDocument.h b/Source/TableDocument.h
index 4816b4a3..8272cd62 100644
--- a/Source/TableDocument.h
+++ b/Source/TableDocument.h
@@ -100,6 +100,8 @@
NSToolbarItem *chooseDatabaseToolbarItem;
WebView *printWebView;
+
+ NSMutableArray *allDatabases;
}
- (NSString *)getHTMLforPrint;
@@ -117,6 +119,7 @@
- (IBAction)removeDatabase:(id)sender;
- (IBAction)showMySQLHelp:(id)sender;
- (IBAction)saveServerVariables:(id)sender;
+- (NSArray *)allDatabaseNames;
//encoding methods
- (void)setConnectionEncoding:(NSString *)mysqlEncoding reloadingViews:(BOOL)reloadViews;