PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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";