|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-04-25 14:45 UTC] jani@php.net
[2009-05-03 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 08:00:02 2025 UTC |
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 error`s\warning`s. Actual result: -------------- Debug Warning: PHPDocument1 line 2 - PDO::__construct(): SQLSTATE[IM001]: Driver does not support this function: driver does not support setting attributes.