Commit adc090a
Handle NULL options column in vreplication readers
The options column was changed to DEFAULT NULL, so existing rows
or rows without an explicit options value can have NULL. This
caused JSON parse failures ("unexpected end of JSON input") since
NULL becomes an empty string. Fall back to "{}" when empty.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Signed-off-by: Tanjin Xu <tanjin.xu@slack-corp.com>1 parent 612e2cf commit adc090a
File tree
2 files changed
+4
-1
lines changed- go/vt
- binlog/binlogplayer
- vttablet/tabletmanager/vreplication
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
615 | 618 | | |
616 | 619 | | |
617 | 620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments