sybase_deadlock_retry_count -- Sets the deadlock retry count
Description
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.
Table 1. Values for retry_count
-1
Retry forever (default)
0
Do not retry
n
Retry n times
Note: This function is only available using the CT library interface to Sybase, and not the DB library.
Deliver First Class Web Sites: 101 Essential Checklists Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?