AW: [PHP-DEV] sybase_ct: deadlock_retry_count

From: Date: Tue, 07 Sep 2004 19:49:24 +0000
Subject: AW: [PHP-DEV] sybase_ct: deadlock_retry_count
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-12638@lists.php.net to get a copy of this message
[...] > My questions to the sybase_ct (Hi Timm ;-) ) maintainer: > > 1. How is the deadlock/retry logic in sybase_ct_query() > intended to work? From my understanding a single SQL > statement will never deadlock. I have no idea why this was put in in the first place. > 2. The default setting of deadlock_retry_count = -1 leads to > uncontrolled behaviour, if external transactions deadlock and > are rolled back by the server. In this case a clean exit is > much better than retrying the LAST statement of the aborted > transaction. My suggestion therefore is changing the default > to deadlock_retry_count=0. I have nothing against that. I set it to -1 to ensure backwards compatibility. If no one objects, I'll commit that to CVS head. - Timm

« previous php.internals (#12638) next »