#38182 [Opn->Asn]: PDO::ATTR_TIMEOUT can be set but not retrieved

From: Date: Sun, 23 Jul 2006 07:09:55 +0000
Subject: #38182 [Opn->Asn]: PDO::ATTR_TIMEOUT can be set but not retrieved
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-99771@lists.php.net to get a copy of this message
ID: 38182 Updated by: tony2001@php.net Reported By: auroraeosrose at gmail dot com -Status: Open +Status: Assigned Bug Type: PDO related Operating System: WinXPSP2 PHP Version: 5CVS-2006-07-21 (snap) -Assigned To: +Assigned To: wez Previous Comments: ------------------------------------------------------------------------ [2006-07-21 20:56:19] auroraeosrose at gmail dot com Description: ------------ sqlite (v. 3) driver $handle->setAttribute(PDO::ATTR_TIMEOUT, 3); works just fine but $handle->getAttribute(PDO::ATTR_TIMEOUT); creates Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute maybe it's just me - but if you can set the attribute shouldn't you be able to retrieve it as well? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38182&edit=1

« previous php.bugs (#99771) next »