RE: [fw-general] RE: Zend_Db - setting PDO attribute

2007-02-21 Thread Bill Karwin
t iteration. Regards, Bill Karwin From: Gregory Szorc [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 2:59 PM To: Sam Davey Cc: fw-general@lists.zend.com Subject: Re: [fw-general] RE: Zend_Db - setting PDO attribute I needed

Re: [fw-general] RE: Zend_Db - setting PDO attribute

2007-02-21 Thread Gregory Szorc
I needed to set PDO::MYSQL_ATTR_MAX_BUFFER_SIZE, which can only be effectively set at PDO construction time ( http://framework.zend.com/issues/browse/ZF-285#action_10624). I extended Zend_Db_Adapter_Pdo_Mysql, copied _connect() in its entirety, then modified to pass the appropriate array to the P

[fw-general] RE: Zend_Db - setting PDO attribute

2007-02-20 Thread Sam Davey
Thanks Bill, I am running ZF 0.7 therefore I had to add the following line to the Zend/Db/Adapter/Abstract.php file as per the info on the URI you posted $this->_connect(); Obviously I shouldn't edit any library files but I did it as a quick fix since 0.8 will be released soon. Once I had done