Blob type not supported in 4.3?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
CHIN

Blob type not supported in 4.3?

Post by CHIN » Fri 27 Jan 2006 02:02

Last version (4.0) running below code all fine, but i update myDAC to 4.3,
data type is not supported.

code:
mycmUpdate.ParamByName('LocationMap').LoadFromStream(PmsLocationMap, ftBlob);

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Tue 31 Jan 2006 09:49

Thank you for information.
We reproduced your problem and fixed it. This fix will be included in the next MyDAC build. It will be available in about one month. Please watch for announcements at the forum.

As temporary solution use set Param.DataType as following:

Code: Select all

mycmUpdate.ParamByName('LocationMap').DataType := ftBlob;
mycmUpdate.ParamByName('LocationMap').LoadFromStream(PmsLocationMap, ftBlob);

Post Reply