Hi,

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.

--
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

Reply via email to