mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibSQL: Free heap storage when deleting rows
This commit is contained in:
parent
c58c87d7ef
commit
69e09fed39
3 changed files with 33 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/DeprecatedString.h>
|
||||
#include <AK/NonnullRefPtr.h>
|
||||
#include <AK/RefPtr.h>
|
||||
#include <LibCore/Object.h>
|
||||
#include <LibSQL/Forward.h>
|
||||
|
@ -32,6 +33,7 @@ public:
|
|||
ResultOr<void> open();
|
||||
bool is_open() const { return m_open; }
|
||||
ErrorOr<void> commit();
|
||||
ErrorOr<size_t> file_size_in_bytes() const { return m_heap->file_size_in_bytes(); }
|
||||
|
||||
ResultOr<void> add_schema(SchemaDef const&);
|
||||
static Key get_schema_key(DeprecatedString const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue