diff options
| author | George Hazan <george.hazan@gmail.com> | 2023-12-04 15:37:10 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2023-12-04 15:49:44 +0300 |
| commit | 0ac48b60e611721486e195447578c0e4733dec23 (patch) | |
| tree | 8bdfeafde2277526293767d68d1c419a6ee6ee08 /include | |
| parent | 3aa33bc976db4a08fd5260ed55cf8613293992ef (diff) | |
DB::EventInfo::fetch - a function to renew event contents on the flow
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_database.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/m_database.h b/include/m_database.h index 4da69e9c60..d47936bd56 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -684,9 +684,11 @@ namespace DB public:
explicit EventInfo();
- explicit EventInfo(MEVENT, bool bFetchBlob = true);
+ explicit EventInfo(MEVENT hEvent, bool bFetchBlob = true);
~EventInfo();
+ bool fetch(MEVENT hEvent, bool bFetchBlob = true);
+
__forceinline operator bool() const { return bValid; }
bool isSrmm() const; // could be displayed in a SRMM window
|
