dbplus_getlockDescriptionint dbplus_getlock ( resource relation, string tname)
dbplus_getlock() will request a write lock on the specified tuple. It will return zero on success or a non-zero error code, especially DBPLUS_ERR_WLOCKED, on failure. See also dbplus_freelock(), dbplus_freerlocks(), and dbplus_freealllocks(). | ||||