dbplus_getlock
(PHP 4 >= 4.0.7, PECL dbplus:0.9)
dbplus_getlock — Get a write lock on a tuple
설명
int dbplus_getlock
( resource $relation
, string $tuple
)
Requests a write lock on the specified tuple .
반환값
Returns zero on success or a non-zero error code, especially DBPLUS_ERR_WLOCKED on failure.
주의
Warning
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.