[fpc-pascal]MySQL 4.0 Files

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Oct 7 16:27:29 CEST 2003


On Tue, 7 Oct 2003, Rainer Hantsch wrote:

> Hi!
>
> I did not program very much with MySQL in FPC until now, but when I understand
> right, there are currently only three different MySQL unit versions.
> One is very old, one is valit up to 3.2, and then there is one for v4.0.
>
> Why not handle minor differences within one and the same unit and use
> different filenames for the major versions?

There are no 'minor differences' - the API fluctuates too much.

> So it will be relatively easy to use {$IFDEF} to choose different MySQL
> versions at compile time from the commandline!

No, because the distribution will only contain 1 version.
Not all people install sources.

Michael.




More information about the fpc-pascal mailing list