From 048633bf27e4913c9ae369c9c017b1c7730f1c1c Mon Sep 17 00:00:00 2001 From: "shoney.arickathil" Date: Sun, 30 Aug 2026 06:54:30 +0200 Subject: [PATCH] docs(db2-delta): correct a line citation before execution - the plan placed the fold near wo_wal_read_row_at at "line ~600"; it is at line 794 - every other citation verified: wal.h:46, table.c:452/487, db.c:88/289, wal.c:738, wal.c:861 Co-Authored-By: Claude Opus 5 (1M context) (cherry picked from commit c6cd48679e21e510696391b340c735aa0ad098f9) --- .../plans/2026-08-30-keys-resident-delta-updates.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/superpowers/plans/2026-08-30-keys-resident-delta-updates.md b/docs/superpowers/plans/2026-08-30-keys-resident-delta-updates.md index 0eb4e6d..d769216 100644 --- a/docs/superpowers/plans/2026-08-30-keys-resident-delta-updates.md +++ b/docs/superpowers/plans/2026-08-30-keys-resident-delta-updates.md @@ -97,7 +97,7 @@ back-pointer offset, then the field's value encoded by the existing `enc_val`. ### Task 2 — the fold, and reads through it -**Files:** modify `database/src/wal.c` (near `wo_wal_read_row_at`, line ~600) +**Files:** modify `database/src/wal.c` (near `wo_wal_read_row_at`, line 794) and `database/src/table.c` (`wo_row_borrow`). **Consumes:** `WO_WAL_DELTA` and the record layout from Task 1. @@ -206,7 +206,7 @@ lines 88 and 289 — one inline, one on the request path) and ### Task 5 — replay and compaction fold the same way **Files:** modify `database/src/wal.c` (`apply_record` at line 738, -`wo_wal_replay_ex` at line ~861, and `wo_wal_compact`). +`wo_wal_replay_ex` at line 861, and `wo_wal_compact`). **Consumes:** the fold from Task 2.