Columncount in mysql

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
tobit
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 15.01.2009, 09:08

Columncount in mysql

Post by tobit »

Hi

I have a Problem with tables which have more than 256 fields.
When i try to open the Query i get a message ("ungültige Bereichseingrenzung"). I find in the ZPlainMySql5.pas the problem.

The Array of MYSQL_ROW was to short.

MYSQL_ROW = array[00..$ff] of PChar;

Is this a bug?


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

Post by mdaems »

It's sort of a bug, but it will probably not be solved. If you really want that much columns, there's some ohter post on the forum about how to work around this. I tried it before, but extending the array used to much memory. If you don't show all fields, use a TZQuery, showing only the columns you really need.

Mark
Image
Post Reply