On Mon, Apr 23, 2001 at 08:37:31PM +0100, Aigars Grins wrote:
> When using <mysql.h> there is defined a:
>
> MYSQL_VERSION_ID
>
> It's defined as something like:
>
> 32235
>
> I guess this is representing version 3.33.35.
>
> Is this the 'right' way of determining version? I want to do something like
> an ifdef to incorporate support in my code for different versions of MySQL.
Yes, although 32235 represents 3.22.35, not 3.33.35.
> --
> Aigars
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php