From 0ea9d18b361cf3f57c5c20f8080581ed66d361b2 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Wed, 26 Mar 2003 18:03:40 +0000 Subject: [PATCH] additional warning that these deprecate functions may actualy be missing from a php build if a 4.x mysql library is used git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@121330 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-create-db.xml | 10 ++++++++-- reference/mysql/functions/mysql-drop-db.xml | 12 +++++++++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/reference/mysql/functions/mysql-create-db.xml b/reference/mysql/functions/mysql-create-db.xml index 10436a5298..dbc31c22ed 100644 --- a/reference/mysql/functions/mysql-create-db.xml +++ b/reference/mysql/functions/mysql-create-db.xml @@ -1,5 +1,5 @@ - + @@ -48,9 +48,15 @@ The function mysql_create_db is deprecated. It is preferable to use mysql_query to issue a - SQL CREATE DATABASE Statement instead. + SQL CREATE DATABASE Statement instead. + + + This function will not be available + if the MySQL extension was built against a MySQL 4.x client library. + + See also: mysql_drop_db, mysql_query. diff --git a/reference/mysql/functions/mysql-drop-db.xml b/reference/mysql/functions/mysql-drop-db.xml index c145ce6ca7..9b690c5091 100644 --- a/reference/mysql/functions/mysql-drop-db.xml +++ b/reference/mysql/functions/mysql-drop-db.xml @@ -1,5 +1,5 @@ - + @@ -30,10 +30,16 @@ The function mysql_drop_db is deprecated. It is - preferable to use mysql_query to issue a SQL - DROP DATABASE statement instead. + preferable to use mysql_query to issue a + SQL DROP DATABASE statement instead. + + + This function will not be available + if the MySQL extension was built against a MySQL 4.x client library + + See also mysql_create_db, and mysql_query.