aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPQueryConsole.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPQueryConsole.m b/Source/SPQueryConsole.m
index 63fbee18..bac258c9 100644
--- a/Source/SPQueryConsole.m
+++ b/Source/SPQueryConsole.m
@@ -479,7 +479,7 @@ static SPQueryConsole *sharedQueryConsole = nil;
* and whether it should be hidden if the SELECT/SHOW toggle is off.
*/
- (BOOL)_messageMatchesCurrentFilters:(NSString *)message
-{
+{
BOOL messageMatchesCurrentFilters = YES;
// Check whether to hide the message based on the current filter text, if any
@@ -492,7 +492,7 @@ static SPQueryConsole *sharedQueryConsole = nil;
// If hiding SELECTs and SHOWs is toggled to on, check whether the message is a SELECT or SHOW
if (messageMatchesCurrentFilters
&& showSelectStatementsAreDisabled
- && ([message hasPrefix:@"SELECT"] || [message hasPrefix:@"SHOW"]))
+ && ([[message uppercaseString] hasPrefix:@"SELECT"] || [[message uppercaseString] hasPrefix:@"SHOW"]))
{
messageMatchesCurrentFilters = NO;
}