CUBRID 函数
PHP Manual

cubrid_lock_read

(PECL CUBRID >= 8.3.0)

cubrid_lock_readIs used to put read lock

说明

bool cubrid_lock_read ( resource $conn_identifier , string $oid )

The cubrid_lock_read() function is used to put read lock on the instance pointed by given oid.

参数

conn_identifier

Connection identifier.

oid

Oid of the instance that you want to put read lock on.

返回值

TRUE, when process is successful.

FALSE, when process is unsuccessful.

范例

Example #1 cubrid_lock_read() example

<?php
$lock_oid 
cubrid_get ($con$oid"next_id");
$res cubrid_lock_read ($con$lock_oid);
?>

参见


CUBRID 函数
PHP Manual