Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Oct 7, 2024
1 parent 4c27acf commit 7656e39
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/dqlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ int dqlite_vfs_snapshot(sqlite3_vfs *vfs,
return VfsSnapshot(vfs, filename, data, n);
}

int dqlite_vfs_snapshot_disk(sqlite3_vfs *vfs,
const char *filename,
struct dqlite_buffer bufs[],
unsigned n)
{
return VfsSnapshotDisk(vfs, filename, bufs, n);

Check warning on line 60 in src/dqlite.c

View check run for this annotation

Codecov / codecov/patch

src/dqlite.c#L60

Added line #L60 was not covered by tests
}

int dqlite_vfs_num_pages(sqlite3_vfs *vfs, const char *filename, unsigned *n)
{
return VfsDatabaseNumPages(vfs, filename, false, n);

Check warning on line 65 in src/dqlite.c

View check run for this annotation

Codecov / codecov/patch

src/dqlite.c#L65

Added line #L65 was not covered by tests
Expand Down

0 comments on commit 7656e39

Please sign in to comment.