update : 2015.11.03
php.shukuma.com

검색:
 
 
Set the transaction locking and isolation

fbsql_set_transaction

(PHP 4 >= 4.2.0, PHP 5, PHP 7)

fbsql_set_transactionSet the transaction locking and isolation

설명

void fbsql_set_transaction ( resource $link_identifier , int $locking , int $isolation )

Sets the transaction locking and isolation.

인수

link_identifier

fbsql_connect()fbsql_pconnect()가 반환한 FrontBase 연결 식별자.

선택적이고 지정하지 않았을 때, 함수는 FrontBase 서버로 열려있는 연결을 찾고, 찾지 못하면 fbsql_connect()를 인수 없이 호출했을 때처럼 연결을 시도합니다.

locking

The type of locking to be set. It can be one of the following constants: FBSQL_LOCK_DEFERRED, FBSQL_LOCK_OPTIMISTIC, or FBSQL_LOCK_PESSIMISTIC.

isolation

The type of isolation to be set. It can be one of the following constants: FBSQL_ISO_READ_UNCOMMITTED, FBSQL_ISO_READ_COMMITTED, FBSQL_ISO_REPEATABLE_READ, FBSQL_ISO_SERIALIZABLE, or FBSQL_ISO_VERSIONED.

반환값

값을 반환하지 않습니다.