PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_WebDAV_Server » Bug #3856

LOCK returning mysql_affected_rows()

Details

Submitted2005-03-17 02:28 UTC
Frombondu at iowalab dot com
Assignedhholzgra
StatusClosed
PackageHTTP_WebDAV_Server
PHP Version4.3.10
OSLinux
Roadmaps(Not assigned)

Comments

[2005-03-17 02:28 UTC] bondu at iowalab dot com

Description:
------------
In Filesystem 1.9, a sucessful lock in LOCK() returns the number of affected rows, not the proper status.

Reproduce code:
---------------
587 return mysql_affected_rows() > 0;
589 return "200 OK";

should probably be the same as unlock:
return mysql_affected_rows() ? "200 OK" : "409 Conflict";