#41882 [NEW]: PDO_ODBC && SysbaseASA && ATTR_PERSISTENT

From: Date: Tue, 03 Jul 2007 06:35:58 +0000
Subject: #41882 [NEW]: PDO_ODBC && SysbaseASA && ATTR_PERSISTENT
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-114568@lists.php.net to get a copy of this message
From: danil dot megrabjan at gmail dot com Operating system: SLES 10 PHP version: 5.2.3 PHP Bug Type: PDO related Bug description: PDO_ODBC && SysbaseASA && ATTR_PERSISTENT Description: ------------ When i try connect to SybaseASA9 throw the PDO_ODBC with ATTR_PERSISTENT flag I have an error message from debugger. In all, connection after executing php script, remain valid (see in SybaseCentral). And if we try again connect to DB later pdo_odbc uses early establishment connection. Reproduce code: --------------- $dbc = new PDO('odbc:Driver=SybaseASA;ServerName=web9;DatabaseName=dbweb;CharSet=utf8;ConnectionName=WebApp;CommLinks=tcpip(Host=dbserver.local;Port=8106)', 'bagroff', '777777', array(PDO::ATTR_PERSISTENT => true)); Expected result: ---------------- DB connect without errors\warnings. Actual result: -------------- Debug Warning: PHPDocument1 line 2 - PDO::__construct(): SQLSTATE[IM001]: Driver does not support this function: driver does not support setting attributes. -- Edit bug report at http://bugs.php.net/?id=41882&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41882&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41882&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41882&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41882&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41882&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41882&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41882&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41882&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41882&r=support Expected behavior: http://bugs.php.net/fix.php?id=41882&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41882&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41882&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41882&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41882&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41882&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41882&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41882&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41882&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41882&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41882&r=mysqlcfg

« previous php.bugs (#114568) next »