(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)
Get a write lock on a tuple
int dbplus_getlock ( resource $relation, string $tuple )
Requests a write lock on the specified tuple
.
Parameters:
relation
A relation opened by dbplus_open().
tuple
A relation opened by dbplus_open().
Returns:
Returns zero on success or a non-zero error code, especially DBPLUS_ERR_WLOCKED
on failure.
See also:
Please login to continue.