[fpc-pascal] Blobtype fix - correct?
lacak at zoznam.sk
Fri Apr 25 07:20:49 CEST 2014
I know , that I am bit late ;-), but:
- for compatibility reasons I would choose another path (mentioned by
Michael as "second"). As it was mentioned in comments in bug tracker
there are two similar methods:
-- SetDataType (protected)
-- SetFieldType (public with checks ... see in fields.inc)
Please see also:
And "Note: Calling *SetFieldType* does the same thing as setting the
So I would use patch in bug tracker and second in all TBlobFields
descendants use SetFieldType instead of SetDataType in their constructors.
Side question is if there can be situation, where DataType <> BlobType.
I did not test in Delphi, but in our current implementation it is
possible, because setting BlobType does not change DataType
> Hi guys,
> Is the patch I uploaded to
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal