note 109041 added to pdostatement.execute

From: Date: Fri, 15 Jun 2012 09:10:23 +0000
Subject: note 109041 added to pdostatement.execute
Groups: php.notes 
Request: Send a blank email to php-notes+get-188621@lists.php.net to get a copy of this message
If your MySQL table has 500,000+ rows and your script is failing because you have hit PHP's memory limit, set the following attribute. $this->pdo->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, false); This should make the error go away again and return memory usage back to normal. ---- Server IP: 69.147.83.197 Probable Submitter: 78.143.213.243 ---- Manual Page -- http://www.php.net/manual/en/pdostatement.execute.php Edit -- https://master.php.net/note/edit/109041 Del: integrated -- https://master.php.net/note/delete/109041/integrated Del: useless -- https://master.php.net/note/delete/109041/useless Del: bad code -- https://master.php.net/note/delete/109041/bad+code Del: spam -- https://master.php.net/note/delete/109041/spam Del: non-english -- https://master.php.net/note/delete/109041/non-english Del: in docs -- https://master.php.net/note/delete/109041/in+docs Del: other reasons-- https://master.php.net/note/delete/109041 Reject -- https://master.php.net/note/reject/109041 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#188621) next »