[Phpmyadmin-devel] MYSQL_MAJOR_VERSION

Marc Delisle DelislMa at CollegeSherbrooke.qc.ca
Wed Jun 27 01:31:51 CEST 2001


Hi,

A quick look at the code shows good lines like this:

tbl_copy.php3:     if(MYSQL_MAJOR_VERSION >= "3.23"){

and others, that won't work anymore in MySQL 4,  like this:

tbl_create.php3:    if(MYSQL_MAJOR_VERSION == "3.23" &&
!empty($comment))

Do you think we should always use the >=  syntax?

Marc





More information about the Developers mailing list