Cubrid Functions
PHP Manual

cubrid_lock_read

(PHP 4, PHP 5)

cubrid_lock_readIs used to put read lock

Description

int cubrid_lock_read ( int $conn_handle , string $oid )

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

Parameters

conn_handle

Connection handle.

oid

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

Return Values

TRUE, when process is successful.

FALSE, when process is unsuccessful.

Examples

Example #1 cubrid_lock_read() example

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

See Also


Cubrid Functions
PHP Manual