Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 72251 invoked from network); 30 Jun 2006 15:41:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jun 2006 15:41:43 -0000 Received: (qmail 19980 invoked by uid 500); 30 Jun 2006 15:41:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 19953 invoked by uid 500); 30 Jun 2006 15:41:42 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 19944 invoked by uid 99); 30 Jun 2006 15:41:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 08:41:42 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 32.97.182.144 is neither permitted nor denied by domain of qozinx@gmail.com) Received: from [32.97.182.144] (HELO e4.ny.us.ibm.com) (32.97.182.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 08:41:41 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e4.ny.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k5UFfKPY017874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 30 Jun 2006 11:41:21 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.6/NCO/VER7.0) with ESMTP id k5UFfK8s213670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 30 Jun 2006 11:41:20 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k5UFfKOP007400 for ; Fri, 30 Jun 2006 11:41:20 -0400 Received: from [127.0.0.1] (sig-9-76-108-26.mts.ibm.com [9.76.108.26]) by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k5UFfIkH007210 for ; Fri, 30 Jun 2006 11:41:20 -0400 Message-ID: <44A5461D.8020506@gmail.com> Date: Fri, 30 Jun 2006 08:41:17 -0700 From: Army User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: (DERBY-822 followup) Server prefetch when QRYROWSET is 0 (zero)? References: <44A476B3.8040508@gmail.com> <44A48EBB.8070800@amberpoint.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Knut Anders Hatlen wrote: > Bryan Pendleton writes: Thanks to both Knut Anders and Bryan for the excellent and timely replies to my question. > When I look at writeQRYDTA and writeFDODTA in DRDAConnThread, it seems > to me that we actually break the DRDA spec in two ways: > > 1) QRYROWSET=0 has the same effect as QRYROWSET=1 > 2) For forward-only/read-only result sets, QRYROWSET will be ignored > (both on OPNQRY and CNTQRY) - haven't verified this since the > client doesn't send QRYROWSET in this case. > > 1 is causing the reported problem with the ODBC driver. I don't know > if 2 is a problem. The client driver never sends an explicit QRYROWSET > when the result set is forward-only, but maybe the ODBC driver does. Thank you for tracking these down. I filed #1 as a bug (DERBY-1468) and #2 as a "task" for further investigation (DERBY-1469). So the next questions are 1) should DERBY-1468 be marked as a "Regression" since existing apps that use ODBC against 10.1 will see incorrect behavior if they upgrade to 10.2? And 2) Ummm...anyone out there interested in fixing DERBY-1468 for the 10.2 deadline? :) Thanks again Bryan and Knut, Army