Bug #17676 [Opn->Csd]: Unexpected transaction
| From: | l dot alberton at quipo dot it | Date: | Sun, 29 Aug 2010 11:17:37 +0000 |
| Subject: | Bug #17676 [Opn->Csd]: Unexpected transaction | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-4710@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17676&edit=1
ID: 17676
Updated by: l.alberton@quipo.it
Reported By: renskiy at mail dot ru
Summary: Unexpected transaction
-Status: Open
+Status: Closed
Type: Bug
Package: MDB2_Driver_ibase
Operating System: Any
Package Version: SVN
PHP Version: 5.3.1
-Assigned To:
+Assigned To: quipo
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: quipo
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2010-08-09 12:29:44] renskiy
Added #patch bug:17676;patch:correct-text-datatype;revision:1281356984;.
------------------------------------------------------------------------
[2010-08-09 12:24:27] renskiy
Description:
------------
Starting unexpected transaction while fetching 'text' type fields.
Test script:
---------------
<?php
require_once('MDB2.php');
$options = array('database_extension'=>'');
$dsn = 'ibase(firebird)://SYSDBA:masterkey@localhost/test';
$db = MDB2::connect($dsn, $options);
$db->beginTransaction();
$result = $db->queryOne('SELECT * FROM test_table', 'text',
'text_field');
$db->rollback();
// sleeping, check unexpected opened transaction at this time
sleep(60);
Expected result:
----------------
No any unclosed transaction.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17676&edit=1