dbplus_getlock

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)

dbplus_getlockGet a write lock on a tuple

˵��

dbplus_getlock ( resource $relation , string $tuple ) : int

Requests a write lock on the specified tuple.

����

relation

A relation opened by dbplus_open().

tuple

����ֵ

Returns zero on success or a non-zero error code, especially DBPLUS_ERR_WLOCKED on failure.

ע��

Warning

�˺�����ʵ�����ġ��˺����ı��󣬰������Ƽ�������ĵ���������δ���� PHP �����汾��δ֪ͨ�ͱ��޸ġ�ʹ�ñ����������Ե� ��

�μ�