diff options
author | Stuart Connolly <stuart02@gmail.com> | 2014-08-28 19:08:14 +0100 |
---|---|---|
committer | Stuart Connolly <stuart02@gmail.com> | 2014-08-28 19:08:14 +0100 |
commit | 310fb079c75d551bf2a129b69c897905ca83e061 (patch) | |
tree | ae163e957f6e43c49fef9014a96f8cab7b99cbfa /Source/SPConsoleMessage.h | |
parent | e3c342d623b24a55215fadb3b7c72f80df303e83 (diff) | |
download | sequelpro-310fb079c75d551bf2a129b69c897905ca83e061.tar.gz sequelpro-310fb079c75d551bf2a129b69c897905ca83e061.tar.bz2 sequelpro-310fb079c75d551bf2a129b69c897905ca83e061.zip |
Resolve #1938: In the query console display the database the query was executed in.
Diffstat (limited to 'Source/SPConsoleMessage.h')
-rw-r--r-- | Source/SPConsoleMessage.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/SPConsoleMessage.h b/Source/SPConsoleMessage.h index 7fe1b711..e79845ae 100644 --- a/Source/SPConsoleMessage.h +++ b/Source/SPConsoleMessage.h @@ -34,16 +34,24 @@ NSDate *messageDate; NSString *message; + NSString *messageDatabase; NSString *messageConnection; } @property (readwrite, assign) BOOL isError; @property (readwrite, retain) NSDate *messageDate; @property (readwrite, retain) NSString *message; +@property (readwrite, retain) NSString *messageDatabase; @property (readwrite, retain) NSString *messageConnection; -+ (SPConsoleMessage *)consoleMessageWithMessage:(NSString *)consoleMessage date:(NSDate *)date connection:(NSString *)connection; ++ (SPConsoleMessage *)consoleMessageWithMessage:(NSString *)consoleMessage + date:(NSDate *)date + connection:(NSString *)connection + database:(NSString *)database; -- (id)initWithMessage:(NSString *)message date:(NSDate *)date connection:(NSString *)connection; +- (id)initWithMessage:(NSString *)message + date:(NSDate *)date + connection:(NSString *)connection + database:(NSString *)database; @end |