php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41882 PDO_ODBC && SysbaseASA && ATTR_PERSISTENT
Submitted: 2007-07-03 06:35 UTC Modified: 2009-05-03 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: danil dot megrabjan at gmail dot com Assigned: wez (profile)
Status: No Feedback Package: PDO related
PHP Version: 5.2.3 OS: SLES 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: danil dot megrabjan at gmail dot com
New email:
PHP Version: OS:

 

 [2007-07-03 06:35 UTC] danil dot megrabjan at gmail dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-25 14:45 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-05-03 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 16:01:34 2024 UTC