Notes
Some implementation notes:
- Support was added for
MYSQL_TYPE_GEOMETRYto the MySQLi extension in PHP 5.3. - Note there are different internal implementations within
libmysqlandmysqlndfor handling columns of typeMYSQL_TYPE_GEOMETRY. Generally speaking,mysqlndwill allocate significantly less memory. For example, if there is aPOINTcolumn in a result set,libmysqlmay pre-allocate up to 4GB of RAM although less than 50 bytes are needed for holding aPOINTcolumn in memory. Memory allocation is much lower, less than 50 bytes, if usingmysqlnd.