Bug #51386 [Opn->Asn]: mysql tries to allocate 4294967296 bytes when fetching longtext via mysqli
| From: | johannes@php.net | Date: | Thu, 25 Mar 2010 09:20:04 +0000 |
| Subject: | Bug #51386 [Opn->Asn]: mysql tries to allocate 4294967296 bytes when fetching longtext via mysqli | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-148989@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51386&edit=1
ID: 51386
Updated by: johannes@php.net
Reported by: rellig at minad dot de
Summary: mysql tries to allocate 4294967296 bytes when fetching
longtext via mysqli
-Status: Open
+Status: Assigned
Type: Bug
Package: MySQLi related
Operating System: gentoo
PHP Version: 5.2.13
-Assigned To:
+Assigned To: mysql
Previous Comments:
------------------------------------------------------------------------
[2010-03-25 08:19:55] rellig at minad dot de
Description:
------------
I wanted to fetch some lines in a php script via
mysqli-prepared-statement and got this
error:
Allowed memory size of 134217728 bytes exhausted (tried to allocate
4294967296 bytes)
I was confused because php reportet that this error occured at
bind_result.
After some time I figured out that it works when I turn one field with
LONGTEXT type to
VARCHAR, for example.
here is a link to my php-script:
http://paste.minad.de/?nid=216
you can look at http://bugs.mysql.com/bug.php?id=52234 too.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51386&edit=1