LongText is blob?
Posted: Mon 26 Apr 2010 10:05
Hi,
I'm a bit puzzled -- on the "information_schema" database (MySQL 5), I get "ROUTINES.BODY" (or TRIGGERS.ACTION_STATEMENT) returned as a ftBlob, while it has a LongText column with UTF8 charset.
Why isn't this a TWideMemoField? How should I know this is a text fields instead of byte blob field? And what encoding it uses?
My TMyConnection has UseUnicode set to True, Delphi 2009, latest version of MyDAC. I noticed older versions have the same issue.
UPDATE!
It seems there's another issue and I'm looking at the wrong query - no problem with LongText.
With regards,
Martijn Tonies
Upscene Productions
I'm a bit puzzled -- on the "information_schema" database (MySQL 5), I get "ROUTINES.BODY" (or TRIGGERS.ACTION_STATEMENT) returned as a ftBlob, while it has a LongText column with UTF8 charset.
Why isn't this a TWideMemoField? How should I know this is a text fields instead of byte blob field? And what encoding it uses?
My TMyConnection has UseUnicode set to True, Delphi 2009, latest version of MyDAC. I noticed older versions have the same issue.
UPDATE!
It seems there's another issue and I'm looking at the wrong query - no problem with LongText.
With regards,
Martijn Tonies
Upscene Productions