aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionDelegate.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-11-14 13:23:17 +0000
committerstuconnolly <stuart02@gmail.com>2009-11-14 13:23:17 +0000
commitffab593752dd8fbd56f7eeb0f7fa666a938ba774 (patch)
tree692fb5c1a551bda9e9289725382de3fc0a71c706 /Source/SPConnectionDelegate.m
parenta4a502eedaf862dce9f22108a5f9a1454b76d72c (diff)
downloadsequelpro-ffab593752dd8fbd56f7eeb0f7fa666a938ba774.tar.gz
sequelpro-ffab593752dd8fbd56f7eeb0f7fa666a938ba774.tar.bz2
sequelpro-ffab593752dd8fbd56f7eeb0f7fa666a938ba774.zip
Bunch of improvements to the query console, including:
- New connection column (been meaning to add this for a while) - Display table view column headers - Enable table view text cell line truncating - Allow table view columns to be re-ordered - The table view now respects the display table view vertical grid lines preference - Support for including the connection when saving messages to a file - Support for showing/hiding the connection column - Increase table view row height to match that of all others - Display message time stamps using the user's system wide medium time format
Diffstat (limited to 'Source/SPConnectionDelegate.m')
-rw-r--r--Source/SPConnectionDelegate.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPConnectionDelegate.m b/Source/SPConnectionDelegate.m
index e306c497..ca0378b3 100644
--- a/Source/SPConnectionDelegate.m
+++ b/Source/SPConnectionDelegate.m
@@ -44,7 +44,7 @@
|| (_queryMode == SPCustomQueryQueryMode && [prefs boolForKey:SPConsoleEnableCustomQueryLogging])
|| (_queryMode == SPImportExportQueryMode && [prefs boolForKey:SPConsoleEnableImportExportLogging]))
{
- [[SPQueryController sharedQueryController] showMessageInConsole:query];
+ [[SPQueryController sharedQueryController] showMessageInConsole:query connection:[self name]];
}
}
}
@@ -55,7 +55,7 @@
- (void)queryGaveError:(NSString *)error connection:(id)connection
{
if ([prefs boolForKey:SPConsoleEnableLogging] && [prefs boolForKey:SPConsoleEnableErrorLogging]) {
- [[SPQueryController sharedQueryController] showErrorInConsole:error];
+ [[SPQueryController sharedQueryController] showErrorInConsole:error connection:[self name]];
}
}