#34495 [NoF->Csd]: dba_fetch() fails with db4 driver when dba_popen() is used
| From: | helly@php.net | Date: | Thu, 08 Dec 2005 19:41:47 +0000 |
| Subject: | #34495 [NoF->Csd]: dba_fetch() fails with db4 driver when dba_popen() is used | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-89981@lists.php.net to get a copy of this message | ||
ID: 34495
Updated by: helly@php.net
Reported By: pookey at pookey dot co dot uk
-Status: No Feedback
+Status: Closed
Bug Type: DBM/DBA related
Operating System: Linux
PHP Version: 5CVS-2005-09-14 (snap)
Assigned To: helly
New Comment:
This bug has been fixed in CVS.
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/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-11-15 01:00:01] 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".
------------------------------------------------------------------------
[2005-11-07 14:58:13] helly@php.net
Please try this patch (against 5.1RC5-dev):
http://php.net/~helly/php/ext/dba/dba-db4-20051107.diff.txt
------------------------------------------------------------------------
[2005-09-14 15:45:12] pookey@php.net
Thanks for the fix - should I add a note to php.net under
dba_popen about this not working in pre-5.1 ?
------------------------------------------------------------------------
[2005-09-14 15:11:47] sniper@php.net
RCS file: /repository/php-src/ext/dba/dba_db4.c,v
revision 1.10
date: 2003/06/21 18:16:38; author: helly; state: Exp; lines: +4 -0
When persistent then we may use threads
Removing this part:
+ if (info->flags & DBA_PERSISTENT) {
+ gmode |= DB_THREAD;
+ }
+
Makes dba_fetch() work with db4 driver also if opened in persistent
mode.
------------------------------------------------------------------------
[2005-09-14 03:04:01] pookey at pookey dot co dot uk
I've updated this page with a lot more information:
http://xian.ncuk.net/test/bug.php
It appears it's just db4 with the problem
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/34495
--
Edit this bug report at http://bugs.php.net/?id=34495&edit=1