Page 1 of 1

OSX issues saving blob

Posted: Wed 01 Aug 2018 23:14
by PatrickGibbons
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

Re: OSX issues saving blob

Posted: Fri 03 Aug 2018 10:38
by ViktorV
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.