Page 1 of 1

Mydac 5.00.1.6 no longer support TBlobField??

Posted: Fri 27 Apr 2007 06:37
by kaffeburk
When i try this code:

myBlob := mydata.mail_qry.FieldByName ('m_body') as TBlobField;
memo1.Lines.Add('blobsize'+inttostr(myBlob.BlobSize));

the result is always zero, and the field is not zero.

I tryed some old programs i made that is using the same statmens. They worked fine. Then I recompiled with mydac 5.0016 and then they to stop working.

/Pär

Posted: Fri 27 Apr 2007 07:35
by kaffeburk
Have to add, small blobs like 1-2 k seams to work. But a larger emailbody or a jpeg not.

Posted: Fri 27 Apr 2007 07:54
by Antaeus
I could not reproduce the problem. I tested BLOBs larger than 4.5 MB.
Please send me a complete small sample at evgeniyd*crlab*com to demonstrate it, including script to create and fill table.
Also supply me the following information:
- exact version of Delphi or Kylix;
- exact version of MySQL server and MySQL client. You can see it in the Info sheet of TMyConnection Editor.

Posted: Fri 27 Apr 2007 10:43
by kaffeburk
I restarted my computer, that did it. Sorry...