fbsql_commit
(PHP 4 >= 4.0.6, PHP 5)
fbsql_commit — Commits a transaction to the database
설명
bool fbsql_commit
([ resource $link_identifier
] )
Ends the current transaction by writing all inserts, updates and deletes to the disk and unlocking all row and table locks held by the transaction. This command is only needed if autocommit is set to false.
인수
- link_identifier
-
fbsql_connect()나 fbsql_pconnect()가 반환한 FrontBase 연결 식별자.
선택적이고 지정하지 않았을 때, 함수는 FrontBase 서버로 열려있는 연결을 찾고, 찾지 못하면 fbsql_connect()를 인수 없이 호출했을 때처럼 연결을 시도합니다.
반환값
성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.
참고
- fbsql_autocommit() - Enable or disable autocommit
- fbsql_rollback() - Rollback a transaction to the database
There are no user contributed notes for this page.
