mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Rearrange visibility of Backend methods, add DoPoll/DoExpire, add return comments
This commit is contained in:
parent
cc7b2dc890
commit
99160f8fcd
5 changed files with 40 additions and 96 deletions
|
@ -227,7 +227,7 @@ OperationResult SQLite::DoErase(ValPtr key, OperationResultCallback* cb) {
|
|||
* Removes any entries in the backend that have expired. Can be overridden by
|
||||
* derived classes.
|
||||
*/
|
||||
void SQLite::Expire() {
|
||||
void SQLite::DoExpire() {
|
||||
auto stmt = prepared_stmts["expire"];
|
||||
|
||||
if ( auto res = CheckError(sqlite3_bind_double(stmt, 1, run_state::network_time));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue