Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12638 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85476 invoked by uid 1010); 7 Sep 2004 19:54:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 85431 invoked from network); 7 Sep 2004 19:54:40 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.176) by pb1.pair.com with SMTP; 7 Sep 2004 19:54:40 -0000 Received: from [212.227.126.208] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1C4m35-0007mj-00; Tue, 07 Sep 2004 21:54:39 +0200 Received: from [80.139.14.251] (helo=banane) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1C4m35-0000Hp-00; Tue, 07 Sep 2004 21:54:39 +0200 To: "'Michael Ulbrich'" , Date: Tue, 7 Sep 2004 21:49:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <413CC7F8.1060800@rentapacs.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcSUT9A5WQjKTc2vRS+kkkcVJmBnTgAw1k2w Message-ID: X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e958292ea7b1c44e51b2b9ca0a9da460 Subject: AW: [PHP-DEV] sybase_ct: deadlock_retry_count From: thekid@thekid.de ("Timm Friebe") References: <413CC7F8.1060800@rentapacs.com> [...] > 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