summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-11-02 06:42:12 +0000
committerfoobar <sniper@php.net>2001-11-02 06:42:12 +0000
commit9ba2c90e1647578d78ab8c70dd37ee5c28cdb41e (patch)
tree66f62bc10ea29960fb81cb33a71c2c8aca06e6c1 /ext/mysql/php_mysql.h
parentab94fecde34cdf54e25f89e241ee212da240d8a6 (diff)
downloadphp-git-9ba2c90e1647578d78ab8c70dd37ee5c28cdb41e.tar.gz
Make the extension work with MySQL 4.0
Diffstat (limited to 'ext/mysql/php_mysql.h')
-rw-r--r--ext/mysql/php_mysql.h2
1 files changed, 2 insertions, 0 deletions
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);