SYBASE_DEADLOCK_RETRY_COUNT(3) SYBASE_DEADLOCK_RETRY_COUNT(3)
sybase_deadlock_retry_count - Sets the deadlock retry count
SYNOPSIS
void sybase_deadlock_retry_count (int $retry_count)
DESCRIPTION
Using sybase_deadlock_retry_count(3), 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(3)) or
the query succeeds.
PARAMETERS
o $retry_count
-
Values for retry_count
+---+-------------------------+
|-1 | |
| | |
| | Retry forever (default) |
| | |
|0 | |
| | |
| | Do not retry |
| | |
|n | |
| | |
| | Retry n times |
| | |
+---+-------------------------+
RETURN VALUES
No value is returned.
NOTES
Note
This function is only available when using the CT library interface to Sybase, and not with the DB library.
PHP Documentation Group SYBASE_DEADLOCK_RETRY_COUNT(3)