(PHP 4 >= 4.3.0, PHP 5)
sybase_deadlock_retry_count — Sets the deadlock retry count
$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
-1 | Retry forever (default) |
0 | Do not retry |
n | Retry n times |
No devuelve ningún valor.
Nota: Esta función está disponible sólo cuando se utiliza la biblioteca CT de Sybase, y no la biblioteca DB.