svn: /phpdoc/en/trunk/ appendices/migration53.xml reference/pdo_mysql/constants.xml
| From: | Kalle Sommer Nielsen | Date: | Wed, 23 Dec 2009 16:47:12 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ appendices/migration53.xml reference/pdo_mysql/constants.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5708@lists.php.net to get a copy of this message | ||
kalle Wed, 23 Dec 2009 16:47:12 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292551
Log:
Fixed bug #50384 (PDO::MYSQL_ATTR_READ_DEFAULT_FILE and DEFAULT_GROUP are missing from mysqlnd)
Bug: http://bugs.php.net/50384 (Open)
PDO::MYSQL_ATTR_READ_DEFAULT_FILE and DEFAULT_GROUP are missing from mysqlnd
Changed paths:
U phpdoc/en/trunk/appendices/migration53.xml
U phpdoc/en/trunk/reference/pdo_mysql/constants.xml
Modified: phpdoc/en/trunk/appendices/migration53.xml
===================================================================
--- phpdoc/en/trunk/appendices/migration53.xml 2009-12-23 16:38:55 UTC (rev 292550)
+++ phpdoc/en/trunk/appendices/migration53.xml 2009-12-23 16:47:12 UTC (rev 292551)
@@ -107,7 +107,10 @@
The new mysqlnd library does not read mysql configuration files
(my.cnf/my.ini), as the older libmysql library does. If your code relies on
settings in the configuration file, you can load it explicitly with the
- <function>mysqli_options</function> function.
+ <function>mysqli_options</function> function. Note that this means the
+ PDO specific constants <constant>PDO::MYSQL_ATTR_READ_DEFAULT_FILE</constant>
+ and <constant>PDO::MYSQL_ATTR_READ_DEFAULT_GROUP</constant> are not defined
+ if MySQL support in PDO is compiled with mysqlnd.
</simpara>
</listitem>
<listitem>
Modified: phpdoc/en/trunk/reference/pdo_mysql/constants.xml
===================================================================
--- phpdoc/en/trunk/reference/pdo_mysql/constants.xml 2009-12-23 16:38:55 UTC (rev 292550)
+++ phpdoc/en/trunk/reference/pdo_mysql/constants.xml 2009-12-23 16:47:12 UTC (rev 292551)
@@ -65,7 +65,9 @@
<listitem>
<para>
Read options from the named option file instead of from
- <filename>my.cnf</filename>.
+ <filename>my.cnf</filename>. This option is not available if
+ mysqlnd is used, because mysqlnd does not read the mysql
+ configuration files.
</para>
</listitem>
</varlistentry>
@@ -77,7 +79,9 @@
<listitem>
<para>
Read options from the named group from <filename>my.cnf</filename> or the
- file specified with <constant>MYSQL_READ_DEFAULT_FILE</constant>.
+ file specified with <constant>MYSQL_READ_DEFAULT_FILE</constant>. This option
+ is not available if mysqlnd is used, because mysqlnd does not read the mysql
+ configuration files.
</para>
</listitem>
</varlistentry>