mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Make PUT on SQLite backend implicitly overwrite expired entries
The backend does not serve expired but still present entries so to a user they do not exist. When they put new data over such an entry their expecation is that the value is overwritten, even if not explicitly requested.
This commit is contained in:
parent
2f67539c0f
commit
16c40f4f3a
3 changed files with 52 additions and 21 deletions
|
@ -1,3 +1,4 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
BEFORE, [code=Storage::SUCCESS, error_str=<uninitialized>, value=v]
|
||||
AFTER, [code=Storage::KEY_NOT_FOUND, error_str=<uninitialized>, value=<uninitialized>]
|
||||
OVERWRITE, [code=Storage::SUCCESS, error_str=<uninitialized>, value=vv]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue