Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve comments on column duplication #323

Merged
merged 3 commits into from
Mar 20, 2024

Conversation

andrew-farries
Copy link
Collaborator

Ensure that column comments are preserved when a column is duplicated.

Part of #227

If the column had no comment the error message if this assertion failed
would be a scan error attempting to scan a NULL into a string.

Use a pointer to a string so that columns that fail the assertion due to
having a NULL comment have a meaningful failure message.
@andrew-farries andrew-farries merged commit 79566b0 into main Mar 20, 2024
44 checks passed
@andrew-farries andrew-farries deleted the preserve-comments-on-duplication branch March 20, 2024 16:08
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.

None yet

2 participants