sybase_deadlock_retry_count

(PHP 4 >= 4.3.0, PHP 5)

sybase_deadlock_retry_countSets the deadlock retry count

說明

void sybase_deadlock_retry_count ( int $retry_count )

Using sybase_deadlock_retry_count(), the number of retries can be defined in cases of deadlocks. By default, every deadlock is retried an infinite number of times or until the process is killed by Sybase, the executing script is killed (for instance, by set_time_limit()) or the query succeeds.

參數

retry_count

Values for retry_count
-1 Retry forever (default)
0 Do not retry
n Retry n times

回傳值

無回傳值。

註釋

Note: 本函式僅適用於 Sybase 的 CT 函式庫介面,而不適用於 DB 函式庫。

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top