MySQL backend defaults to BLOB, wich is not large enough for some images
Bug #1496687 reported by
Martin Paulo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
First App Application For OpenStack |
Fix Released
|
Undecided
|
Martin Paulo |
Bug Description
If you run the faafo application with a MySQL back end, some of the images are not shown by the api server. It turns out that this is caused by MySQL truncating the images as they are not large enough to fit into the BLOB column generated by SqlAlchemy. A larger type is needed for the this column.
Changed in faafo: | |
assignee: | nobody → Martin Paulo (martin-paulo) |
summary: |
- MySQL backend defaults to BLOB, wich is not large enough for some image + MySQL backend defaults to BLOB, wich is not large enough for some images |
Changed in faafo: | |
status: | New → Fix Committed |
To post a comment you must log in.
I have submitted a fix via gerrit. It's not horribly elegant, but not knowing the technology stack it serves to at least illustrate one solution to the problem