mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Add useful notes chapter. Notes on diffs between libmysql and mysqlnd when handling GEOMETRY types. Fixes bug #49357.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309644 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7db0ab89d9
commit
6b0e3ce8b1
2 changed files with 55 additions and 0 deletions
|
@ -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;
|
||||
|
|
54
reference/mysqli/notes.xml
Normal file
54
reference/mysqli/notes.xml
Normal file
|
@ -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
|
||||
-->
|
||||
|
Loading…
Reference in a new issue