From 3951d1e1f8ae3aaf86bfe0fbf94c415b3e8195e1 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Thu, 1 Aug 2024 16:10:43 -0500 Subject: [PATCH] Add a TODO about the broken read mark implementation Signed-off-by: Cole Miller --- src/vfs2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vfs2.c b/src/vfs2.c index f35dc9672..5eb03c19f 100644 --- a/src/vfs2.c +++ b/src/vfs2.c @@ -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;