aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-05-20 15:25:57 +0000
committerBibiko <bibiko@eva.mpg.de>2009-05-20 15:25:57 +0000
commit14b3a654bad83e021aa80e0838b6b72ca79ac9d6 (patch)
treed5bb0963536a8957a232a0792171d50f8c5506cd /Source/CustomQuery.m
parent86a11d827706093e0aeaa9c6922a0f1cb73e2008 (diff)
downloadsequelpro-14b3a654bad83e021aa80e0838b6b72ca79ac9d6.tar.gz
sequelpro-14b3a654bad83e021aa80e0838b6b72ca79ac9d6.tar.bz2
sequelpro-14b3a654bad83e021aa80e0838b6b72ca79ac9d6.zip
• made mySQLConnection reachable for CMTextView
• for MySQL version > 4 added proc/func names to the completion suggestion list • changed the way of adding the table names to the completion suggestion list - now it uses [mySQLConnection listTables] instead of taking the names from the table view list due to the header items • added some pragma marks to CMTextView
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 9245d953..3aa90ce0 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -1403,6 +1403,8 @@ traps enter key and
- (void)setMySQLversion:(NSString *)theVersion
{
mySQLversion = [[theVersion substringToIndex:3] retain];
+ [textView setConnection:mySQLConnection withVersion:[[[mySQLversion componentsSeparatedByString:@"."] objectAtIndex:0] intValue]];
+
}
/*