| Summary: | [DB][Mysql] Default BLOB size is not sufficient | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Egidijus Vaisnora <vaisegid> | ||||
| Component: | cdo.net4j.db | Assignee: | Egidijus Vaisnora <vaisegid> | ||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | saulius.tvarijonas, stefan | ||||
| Version: | 4.1 | Flags: | stepper:
review+
|
||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Egidijus Vaisnora
Created attachment 199595 [details]
Patch
Is there any drawback when the default size is increased? If yes, would it make more sense to make the value configurable? (In reply to comment #2) > Is there any drawback when the default size is increased? > If yes, would it make more sense to make the value configurable? It will increase size of BLOB by the size required to tell length of data. Default BLOB will have 2 byte prefix, large will have 4 byte prefix. http://dev.mysql.com/doc/refman/5.0/en/string-type-overview.html But anyway, I think your idea with configuration is great and should fulfill everybody needs. Now it seems that each adapter is overloading default types for some reasons. Committed revision 8719, to TRUNK Closing. |