mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
SQLite: Handle automated expiration
This commit is contained in:
parent
e95784db16
commit
ec49f5d550
5 changed files with 88 additions and 9 deletions
|
@ -48,7 +48,11 @@ public:
|
|||
*/
|
||||
ErrorResult DoErase(ValPtr key, ErrorResultCallback* cb = nullptr) override;
|
||||
|
||||
// TODO: add support for checking for expired data
|
||||
/**
|
||||
* Removes any entries in the backend that have expired. Can be overridden by
|
||||
* derived classes.
|
||||
*/
|
||||
void Expire() override;
|
||||
|
||||
private:
|
||||
ErrorResult checkError(int code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue