#38015 [Opn->Fbk]: Can not set PDO_MYSQL_ATTR_MAX_BUFFER_SIZE
| From: | iliaa@php.net | Date: | Wed, 05 Jul 2006 17:32:50 +0000 |
| Subject: | #38015 [Opn->Fbk]: Can not set PDO_MYSQL_ATTR_MAX_BUFFER_SIZE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99127@lists.php.net to get a copy of this message | ||
ID: 38015
Updated by: iliaa@php.net
Reported By: sunaoka+bugs dot php dot net at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: Solaris
PHP Version: 5.1.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-07-05 13:28:41] sunaoka+bugs dot php dot net at gmail dot com
Description:
------------
I'm using pdo_mysql client library 4.1.20.
I need treat the data of 1MB or more.
But I can not set PDO_MYSQL_ATTR_MAX_BUFFER_SIZE.
Reproduce code:
---------------
$db = new PDO('mysql:host=localhost;dbname=test', 'user', 'pass');
var_dump($db->setAttribute(PDO::MYSQL_ATTR_MAX_BUFFER_SIZE, 1024 * 1024
* 10));
Expected result:
----------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38015&edit=1