Community
Participate
Working Groups
BLOB type is mapped to MySQL BLOB type, however it's default size is too small ~ 64kb. I prefer to increase it to 4G to accept large binary data
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.