Skip to content

Fix corrupted SQL dumps for nullable unsigned BIGINT and VARBINARY cols - #51

Merged
mberhorst merged 1 commit into
mainfrom
fix/varbinary-column-fix
Jul 13, 2026
Merged

mberhorst merged 1 commit into
mainfrom
fix/varbinary-column-fix

Conversation

@mberhorst

Copy link
Copy Markdown
Contributor

Nullable BIGINT UNSIGNED columns scan into sql.Null[uint64] and VARBINARY
columns scan into raw []byte, neither of which were handled by RowBuffer's
type switch — both fell through to the default '%s' formatting branch,
emitting Go's bad-verb diagnostic string (sequencenumber/version) or a
stray leading '&' before the value (BINARY-literal UUIDs), corrupting the
dump and breaking import.

@mberhorst
mberhorst merged commit 47249a5 into main Jul 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant