OSX issues saving blob

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
PatrickGibbons
Posts: 1
Joined: Wed 01 Aug 2018 22:46

OSX issues saving blob

Post by PatrickGibbons » Wed 01 Aug 2018 23:14

I have code that works on Windows for saving an image to a MySQL database via TDAParams and using TDAParam.LoadFromFile as type ftBlob. Using MyDac version 9.0.2.

The same code causes the image to save corrupted on OSX. The size of the image is the same whether it is saved from Windows or OSX (5106 bytes). I have tried using TDAParam.LoadFromStream and other field types but they all do no to work.

Has anyone come across problems on OSX and know why this isn't working?
Could this be resolved in later versions of MyDac?

Good Image:
Image
Corrupted Image:
Image

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: OSX issues saving blob

Post by ViktorV » Fri 03 Aug 2018 10:38

Unfortunately we could not reproduce the issue on the latest MyDAC 9.2.6 version.
Please check whether the problem occurs on the latest version MyDAC 9.2.6 and if yes, to investigate the specified MyDAC behavior, please compose a full sample demonstrating the issue and send it to us using the contact form https://www.devart.com/company/contactform.html including the scripts for creating database objects. Also specify the exact MySQL (MariaDB) version.

Post Reply