php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9222 dbmreplace() and dbmdelete() don't run
Submitted: 2001-02-12 02:39 UTC Modified: 2002-05-21 00:00 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: Mail at Kruemelkiller dot de Assigned:
Status: No Feedback Package: DBM/DBA related
PHP Version: 4.0.4pl1 OS: Win32
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2001-02-12 02:39 UTC] Mail at Kruemelkiller dot de
I want to use a dbm-database. I can insert, but I can't replace or delete anything. 
E.g.:

<?php
$dbh = dbmopen( "./data/produkte", "c" )
 or die( "Couldn't open DBM-database!" );
// This is running!

dbminsert( $dbh, "Sonic Screwdriver", "23.20" )
 or die("Insert not possible!");
// This is running, too!

dbmreplace( $dbh, "Sonic Screwdriver", "25.20" )
 or die("Replace not possible!");
// Here I get the error-alert!

dbmdelete( $dbh, "Sonic Screwdriver" )
 or die("Delete not possible!");
// Here I get the error-alert, too!

dbmclose( $dbh );
?>

(No gdb-backtrace available, sorry)

Greetzz by da
Kruemelkiller

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-19 01:14 UTC] alan_k@php.net
can you try again using php4.2.0RC4?

http://www.php.net/~derick/
 [2002-05-21 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, 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: Fri Mar 29 09:01:28 2024 UTC