php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54654 pdo_oci connection after some time begin except error
Submitted: 2011-05-04 10:29 UTC Modified: 2014-01-01 12:44 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:0 (0.0%)
From: mikhail dot v dot gavrilov at gmail dot com Assigned:
Status: Open Package: PDO OCI
PHP Version: 5.3.6 OS: CentOS 5.6
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-05-04 10:29 UTC] mikhail dot v dot gavrilov at gmail dot com
Description:
------------
pdo_oci connection after some time begin except follow error: SQLSTATE[HY000]: General error: 3114 OCIStmtExecute: Error while trying to retrieve text for error ORA-03114 (/builddir/build/BUILD/php-5.3.6/ext/pdo_oci/oci_statement.c:148)

Test script:
---------------
$db = new PDO('oci:dbname=my-sid', 'user', 'pass', array(
	PDO::ATTR_PERSISTENT => true,
	PDO::ATTR_AUTOCOMMIT => false,
	PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)
);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-26 22:34 UTC] sixd@php.net
-Status: Open +Status: Feedback
 [2012-06-26 22:34 UTC] sixd@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.


 [2012-07-04 09:26 UTC] mikhail dot v dot gavrilov at gmail dot com
-Status: Feedback +Status: Open
 [2012-07-04 09:26 UTC] mikhail dot v dot gavrilov at gmail dot com
Sorry, I am already write patch and fix it here: https://bugs.php.net/bug.php?id=55768
 [2014-01-01 12:44 UTC] felipe@php.net
-Package: PDO related +Package: PDO OCI
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC