Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [dbplus_getlock]

Protect Your Website Today


PHP Manual || DB++ Functions

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

dbplus_getlockGet a write lock on a tuple

Description

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

Requests a write lock on the specified tuple.

Parameters

relation

A relation opened by dbplus_open().

tuple

Return Values

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

Notes

Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

See Also



PHP Manual || DB++ Functions