diff --git a/reference/mysqli/book.xml b/reference/mysqli/book.xml index e672583d57..d147e8d4d6 100644 --- a/reference/mysqli/book.xml +++ b/reference/mysqli/book.xml @@ -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; diff --git a/reference/mysqli/notes.xml b/reference/mysqli/notes.xml new file mode 100644 index 0000000000..a76690afe3 --- /dev/null +++ b/reference/mysqli/notes.xml @@ -0,0 +1,54 @@ + + + + + Notes + + Some implementation notes: + + + + + Support was added for MYSQL_TYPE_GEOMETRY + to the MySQLi extension in PHP 5.3. + + + + + Note there are different internal implementations within + libmysql and mysqlnd for handling + columns of type MYSQL_TYPE_GEOMETRY. Generally speaking, + mysqlnd will allocate significantly less memory. For + example, if there is a POINT + column in a result set, libmysql may pre-allocate up + to 4GB of RAM although less than 50 bytes are + needed for holding a POINT column in memory. Memory + allocation is much lower, less than 50 bytes, if + using mysqlnd. + + + + + + + +