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
This commit is contained in:
Hartmut Holzgraefe 2003-03-26 18:03:40 +00:00
parent 40a8d3a4c0
commit 0ea9d18b36
2 changed files with 17 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-create-db">
<refnamediv>
@ -48,9 +48,15 @@
<para>
The function <function>mysql_create_db</function> is deprecated. It
is preferable to use <function>mysql_query</function> to issue a
SQL CREATE DATABASE Statement instead.
<literal>SQL CREATE DATABASE</literal> Statement instead.
</para>
</note>
<warning>
<para>
This function will not be available
if the MySQL extension was built against a MySQL 4.x client library.
</para>
</warning>
<para>
See also: <function>mysql_drop_db</function>,
<function>mysql_query</function>.

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-drop-db">
<refnamediv>
@ -30,10 +30,16 @@
<note>
<para>
The function <function>mysql_drop_db</function> is deprecated. It is
preferable to use <function>mysql_query</function> to issue a SQL
DROP DATABASE statement instead.
preferable to use <function>mysql_query</function> to issue a
<literal>SQL DROP DATABASE</literal> statement instead.
</para>
</note>
<warning>
<para>
This function will not be available
if the MySQL extension was built against a MySQL 4.x client library
</para>
</warning>
<para>
See also <function>mysql_create_db</function>, and
<function>mysql_query</function>.