Skip to content

Commit

Permalink
Add a TODO about the broken read mark implementation
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Aug 1, 2024
1 parent fe47c99 commit 3951d1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vfs2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2364,6 +2364,8 @@ static unsigned read_lock(unsigned i)

int vfs2_pseudo_read_begin(sqlite3_file *file, uint32_t target, unsigned *out)
{
/* FIXME(cole) this implementation is incorrect and needs to be
* replaced. */
struct file *xfile = (struct file *)file;
PRE(xfile->flags & SQLITE_OPEN_MAIN_DB);
struct entry *e = xfile->entry;
Expand Down

0 comments on commit 3951d1e

Please sign in to comment.