Skip to content

Fix for SQLite binary data corrupter (to master branch) #4809

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

Merged
merged 2 commits into from
Feb 1, 2012

Conversation

cfeist
Copy link

@cfeist cfeist commented Jan 31, 2012

This is a fix for issue #4777 for the SQLite adapter which will corrupt binary data if the data contains '%00'. I've provided a test which fails without the fix and passes after the fix.

I've applied this patch against the master branch (instead of the 3-2-stable branch as in issue #4778).

Please let me know if there are any other changes I need to make.

Thanks!
Chris

tenderlove added a commit that referenced this pull request Feb 1, 2012
Fix for SQLite binary data corrupter (to master branch)
@tenderlove tenderlove merged commit 78d5d6f into rails:master Feb 1, 2012
tenderlove added a commit that referenced this pull request Feb 2, 2012
Fix for SQLite binary data corrupter (to master branch)
@giner
Copy link

giner commented Dec 6, 2012

You are crazy guys! You haven't even mentioned such an important change on the changelog!
I have spent three days to solve a problem with Redmine upgrade!
Have a look: http://www.redmine.org/issues/12501

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.

3 participants