From 9ba2c90e1647578d78ab8c70dd37ee5c28cdb41e Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 2 Nov 2001 06:42:12 +0000 Subject: Make the extension work with MySQL 4.0 --- ext/mysql/php_mysql.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/mysql/php_mysql.h') diff --git a/ext/mysql/php_mysql.h b/ext/mysql/php_mysql.h index ff091aa2af..e997a3db1f 100644 --- a/ext/mysql/php_mysql.h +++ b/ext/mysql/php_mysql.h @@ -48,8 +48,10 @@ PHP_FUNCTION(mysql_connect); PHP_FUNCTION(mysql_pconnect); PHP_FUNCTION(mysql_close); PHP_FUNCTION(mysql_select_db); +#if MYSQL_VERSION_ID < 40000 PHP_FUNCTION(mysql_create_db); PHP_FUNCTION(mysql_drop_db); +#endif PHP_FUNCTION(mysql_query); PHP_FUNCTION(mysql_unbuffered_query); PHP_FUNCTION(mysql_db_query); -- cgit v1.2.1