JavaScript Editor Javascript debugger     Website design 

sybase_deadlock_retry_count

Sets the deadlock retry count (PHP 4 >= 4.3.0, PHP 5)
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.

Parameters

retry_count

Table 319. Values for retry_count

-1Retry forever (default)
0Do not retry
nRetry n times


Return Values

No value is returned.

Notes

Note:

This function is only available using the CT library interface to Sybase, and not the DB library.