dbplus_getlock

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

dbplus_getlockGet a write lock on a tuple

說明

int dbplus_getlock ( resource $relation , string $tuple )

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的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。

參見

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top