php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #55664 pdo-firebird specific tests using generic driver as well
Submitted: 2011-09-10 08:35 UTC Modified: 2011-09-12 14:59 UTC
From: lester at lsces dot co dot uk Assigned: mariuz (profile)
Status: Closed Package: PDO related
PHP Version: 5.3.8 OS: OS agnostic?
Private report: No CVE-ID: None
 [2011-09-10 08:35 UTC] lester at lsces dot co dot uk
Description:
------------
pdo_firebird specific tests have been designed using the generic interbase driver to create and destroy test database. Intermittent timing problem causing an error on the generic driver where the pdo_firebird driver has not finished with the connection. The race condition needs investigating, but the pdo driver tests should not be reliant on the generic driver? All the other tests use a generic database rather than continually creating and destroying it which takes unnecessary time.

Test script:
---------------
Patch fixes test script


Patches

pdo_firebird-rowCount_test_fix (last revision 2011-09-10 08:35 UTC by lester at lsces dot co dot uk)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-12 14:59 UTC] mariuz@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mariuz
 [2011-09-12 14:59 UTC] mariuz@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

i have solved by releasing the statement handle
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 08:01:30 2024 UTC