You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .tasks/done/TASK-149-refactor-insertIntoPksTableAndGetPk.md
+21-8Lines changed: 21 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,9 @@
4
4
Adapt `insertIntoPksTableAndGetPk` and related pks table insert functions to work with the new Rust/C-compatible schema where PK column values are stored directly instead of as a packed blob.
5
5
6
6
## Status
7
-
- State: **REOPENED** — marked done prematurely, left build broken
# TASK-158 — Add proper caching for zeroClockOnResurrect
2
+
3
+
## Goal
4
+
Implement proper statement caching for `zeroClockOnResurrectCached()` instead of falling back to uncached version.
5
+
6
+
## Status
7
+
- State: triage
8
+
- Priority: low (optimization, not blocking)
9
+
10
+
## Context
11
+
During the build fix session (2025-12-21), `zeroClockOnResurrectCached()` was added as a stub that falls back to the uncached `zeroClockOnResurrect()`. This works but loses the performance benefit of statement caching.
12
+
13
+
Current implementation:
14
+
```zig
15
+
pub fn zeroClockOnResurrectCached(
16
+
stmts: *TableMergeStmts,
17
+
pk: i64,
18
+
) MergeError!void {
19
+
// Format SQL on first use - need to add sql buffer and stmt handle for this
0 commit comments