LongBlob in MYSQL error

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
User avatar
braune
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 30.01.2007, 17:15

LongBlob in MYSQL error

Post by braune »

Hi,
i'm using:

ZeosDBO 6.6.0 beta rev 210
Delphi 5 Enterprise
MySQL V4.1.11-nt
Windows XP Pro SP2

Login: ok.
SQL: "select * from artikel" results error "Fehler bei Bereichsprüfung"

This error comes only fieldtype LONGBLOB is in fieldlist.
Can test with the demo DCBDEMO.

Any idea?

Thanks

Uwe
User avatar
braune
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 30.01.2007, 17:15

Post by braune »

Hi, i've found the error/bug???!!!

Not the fieldtype LONGBLOB is the error a field named MATCH.
Ok this field is reserved, but other programs or components have not problems.

I've tested:

SQLEXPRESS 2005 : ok
MySQL V4.1.11-nt : error

For more infos see the attached file in MANTIS
http://zeosbugs.firmos.at/

Uwe
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Thanks Uwe,

Maybe we can fix it by forcing the component to use backticks for 'MATCH' when necessary. Try to add itin TZMySQLDatabaseMetadata.GetSQLKeywords and pleaselet me know ifthat solves the problem. What about 'max' or other database functions as column name?

Mark
User avatar
braune
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 30.01.2007, 17:15

Post by braune »

Hi Mark,

oh no, i found an old libmysql.dll in the windows directory.
I've remove the dll an now works perfect.
Excuse me....

Uwe
Post Reply