[Phpmyadmin-devel] MYSQL_MAJOR_VERSION

Steve Alberty alberty at neptunlabs.de
Wed Jun 27 10:20:22 CEST 2001


Hi,

> -----Original Message-----
> 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?

i think, its a good idea, but all "SHOW" commands like "SHOW OPEN TABLES"
will be changed in 4.0.

see: manual_toc.html#News-4.0.0

-- 
Steve





More information about the Developers mailing list