Home » HTTP » HTTP_WebDAV_Server » Bug #3856
LOCK returning mysql_affected_rows()
Details
| Submitted | 2005-03-17 02:28 UTC |
|---|---|
| From | bondu at iowalab dot com |
| Assigned | hholzgra |
| Status | Closed |
| Package | HTTP_WebDAV_Server |
| PHP Version | 4.3.10 |
| OS | Linux |
| 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";