Commit 7fbfff5
Pre-pad new columns for existing rows
QwpTableBuffer.createColumn() created new column buffers with
size = 0 regardless of how many rows were already committed.
When the caller added a value for the current row, it landed at
position 0 (the first row's slot). The subsequent nextRow() call
padded nulls after the value, misaligning the column data with
all other columns.
The fix pre-pads the new column with nulls for all committed
rows so the next value lands at the correct row position.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1d33006 commit 7fbfff5
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
354 | 359 | | |
355 | 360 | | |
356 | 361 | | |
| |||
0 commit comments