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

Don't mutate row arrays that come back from the database adapter #50859

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

tenderlove
Copy link
Member

In SQLite3-Ruby version 2.0, I would like to make row arrays frozen. I tested the change, and it only breaks this test, so I'm changing the test. I don't think we should be mutating the objects that the database adapter returns

In SQLite3-Ruby version 2.0, I would like to make row arrays frozen. I
tested the change, and it only breaks this test, so I'm changing the
test. I don't think we should be mutating the objects that the database
adapter returns
@tenderlove tenderlove merged commit 80bce4a into main Jan 24, 2024
7 checks passed
@tenderlove tenderlove deleted the no-row-mutation branch January 24, 2024 00:49
rafaelfranca pushed a commit that referenced this pull request Apr 22, 2024
Don't mutate row arrays that come back from the database adapter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant