downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

cubrid_lock_write> <cubrid_load_from_glo
Last updated: Fri, 24 Sep 2010

view this page in

cubrid_lock_read

(PECL CUBRID >= 8.3.0)

cubrid_lock_readIs used to put read lock

Description

int 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.

Parameters

conn_identifier

Connection identifier.

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



add a note add a note User Contributed Notes
cubrid_lock_read
There are no user contributed notes for this page.

cubrid_lock_write> <cubrid_load_from_glo
Last updated: Fri, 24 Sep 2010
 
 
show source | credits | sitemap | contact | advertising | mirror sites