svn: /phpdoc/en/trunk/reference/mysqli/ constants.xml
| From: | Peter Cowburn | Date: | Mon, 12 Nov 2012 22:33:28 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysqli/ constants.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10697@lists.php.net to get a copy of this message | ||
salathe Mon, 12 Nov 2012 22:33:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=328329
Log:
Update MySQLi constants.
MYSQLI_TYPE_CHAR is an outdated alias for MYSQL_TYPE_TINY.
The type for CHAR() fields is MYSQLI_TYPE_STRING
see http://dev.mysql.com/doc/refman/5.1/en/c-api-data-structures.html
--
Provided by anonymous #18986 (jg@handcode.de)
Bug: https://bugs.php.net/18986 (No Feedback) Unable to
bind to server
Changed paths:
U phpdoc/en/trunk/reference/mysqli/constants.xml
Modified: phpdoc/en/trunk/reference/mysqli/constants.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqli/constants.xml 2012-11-12 22:33:17 UTC (rev 328328)
+++ phpdoc/en/trunk/reference/mysqli/constants.xml 2012-11-12 22:33:28 UTC (rev 328329)
@@ -447,7 +447,7 @@
<term><constant>MYSQLI_TYPE_STRING</constant></term>
<listitem>
<para>
- Field is defined as <literal>STRING</literal>
+ Field is defined as <literal>CHAR</literal> or
<literal>BINARY</literal>
</para>
</listitem>
</varlistentry>
@@ -455,7 +455,8 @@
<term><constant>MYSQLI_TYPE_CHAR</constant></term>
<listitem>
<para>
- Field is defined as <literal>CHAR</literal>
+ Field is defined as <literal>TINYINT</literal>.
+ For <literal>CHAR</literal>, see
<literal>MYSQLI_TYPE_STRING</literal>
</para>
</listitem>
</varlistentry>