aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryConsole.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-04-18 01:30:52 +0000
committerrowanbeentje <rowan@beent.je>2009-04-18 01:30:52 +0000
commite739aab4fc249fac5c82ebf8e2ac5e603341118c (patch)
tree7bed9e80c6a92e2634103bb99a093956efb6d498 /Source/SPQueryConsole.h
parent6646f022ec631d24afe58e8fbe4a7824f4a9c498 (diff)
downloadsequelpro-e739aab4fc249fac5c82ebf8e2ac5e603341118c.tar.gz
sequelpro-e739aab4fc249fac5c82ebf8e2ac5e603341118c.tar.bz2
sequelpro-e739aab4fc249fac5c82ebf8e2ac5e603341118c.zip
- Rework the query console logic. This fixes a memory leak caused by a mutableCopy when toggling SELECT/SHOWS; it allows the SELECT/SHOWS toggle and text filters to stack together whatever order they are changed in; and it allows both filtering and hiding SELECT/SHOWs to be applied 'live', ie messages added to the console will have the same logic applied to them.
- Clean up trailing whitespace in the file
Diffstat (limited to 'Source/SPQueryConsole.h')
-rw-r--r--Source/SPQueryConsole.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPQueryConsole.h b/Source/SPQueryConsole.h
index 155517f7..cbe89662 100644
--- a/Source/SPQueryConsole.h
+++ b/Source/SPQueryConsole.h
@@ -31,7 +31,10 @@
IBOutlet NSButton *includeTimeStampsButton, *saveConsoleButton, *clearConsoleButton;
NSFont *consoleFont;
- NSMutableArray *messages, *messagesActiveSet, *messagesFilterSet, *messagesSubset;
+ NSMutableArray *messagesFullSet, *messagesFilteredSet, *messagesVisibleSet;
+ BOOL showSelectStatementsAreDisabled;
+ BOOL filterIsActive;
+ NSMutableString *activeFilterString;
}
@property (readwrite, retain) NSFont *consoleFont;