svn: /phpdoc/en/trunk/reference/mysqli/ book.xml notes.xml
| From: | Anthony Bedford | Date: | Thu, 24 Mar 2011 11:59:12 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysqli/ book.xml notes.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7894@lists.php.net to get a copy of this message | ||
abedford Thu, 24 Mar 2011 11:59:12 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309644
Log:
Add useful notes chapter. Notes on diffs between libmysql and mysqlnd when handling GEOMETRY types.
Fixes bug #49357.
Bug: http://bugs.php.net/49357 (error getting bug
information)
Changed paths:
U phpdoc/en/trunk/reference/mysqli/book.xml
A phpdoc/en/trunk/reference/mysqli/notes.xml
Modified: phpdoc/en/trunk/reference/mysqli/book.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqli/book.xml 2011-03-24 11:50:19 UTC (rev 309643)
+++ phpdoc/en/trunk/reference/mysqli/book.xml 2011-03-24 11:59:12 UTC (rev 309644)
@@ -55,6 +55,7 @@
&reference.mysqli.setup;
&reference.mysqli.persistconns;
&reference.mysqli.constants;
+ &reference.mysqli.notes;
&reference.mysqli.summary;
&reference.mysqli.mysqli;
&reference.mysqli.mysqli-stmt;
Added: phpdoc/en/trunk/reference/mysqli/notes.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqli/notes.xml (rev 0)
+++ phpdoc/en/trunk/reference/mysqli/notes.xml 2011-03-24 11:59:12 UTC (rev 309644)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: $ -->
+
+<chapter xml:id="mysqli.notes" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Notes</title>
+
+ <para>Some implementation notes:</para>
+
+ <orderedlist>
+ <listitem>
+ <para>
+ Support was added for <literal>MYSQL_TYPE_GEOMETRY</literal>
+ to the MySQLi extension in PHP 5.3.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Note there are different internal implementations within
+ <literal>libmysql</literal> and <literal>mysqlnd</literal> for
handling
+ columns of type <literal>MYSQL_TYPE_GEOMETRY</literal>. Generally speaking,
+ <literal>mysqlnd</literal> will allocate significantly less memory. For
+ example, if there is a <literal>POINT</literal>
+ column in a result set, <literal>libmysql</literal> may pre-allocate up
+ to 4GB of RAM although less than 50 bytes are
+ needed for holding a <literal>POINT</literal> column in memory. Memory
+ allocation is much lower, less than 50 bytes, if
+ using <literal>mysqlnd</literal>.
+ </para>
+ </listitem>
+ </orderedlist>
+
+</chapter>
+
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: sgml
+ sgml-omittag:t
+ sgml-shorttag:t
+ sgml-minimize-attributes:nil
+ sgml-always-quote-attributes:t
+ sgml-indent-step:1
+ sgml-indent-data:t
+ indent-tabs-mode:nil
+ sgml-parent-document:nil
+ sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+ sgml-exposed-tags:nil
+ sgml-local-catalogs:nil
+ sgml-local-ecat-files:nil
+ End:
+ vim600: syn=xml fen fdm=syntax fdl=2 si
+ vim: et tw=78 syn=sgml
+ vi: ts=1 sw=1
+-->
+