Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C709510C2D for ; Mon, 28 Oct 2013 08:28:44 +0000 (UTC) Received: (qmail 26224 invoked by uid 500); 28 Oct 2013 08:28:44 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 26173 invoked by uid 500); 28 Oct 2013 08:28:43 -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 26070 invoked by uid 99); 28 Oct 2013 08:28:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 08:28:43 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Dyre.Tjeldvoll@oracle.com designates 141.146.126.69 as permitted sender) Received: from [141.146.126.69] (HELO aserp1040.oracle.com) (141.146.126.69) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 08:28:35 +0000 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9S8SCdx027705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 28 Oct 2013 08:28:13 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9S8SCSO022459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 28 Oct 2013 08:28:12 GMT Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9S8SBZA003733 for ; Mon, 28 Oct 2013 08:28:11 GMT Received: from atum20.no.oracle.com (/10.172.139.200) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 28 Oct 2013 01:28:11 -0700 Message-ID: <526E2012.7010106@oracle.com> Date: Mon, 28 Oct 2013 09:28:02 +0100 From: Dyre Tjeldvoll Organization: Oracle User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: "derby-dev@db.apache.org" Subject: Support for dynamic cursors? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Virus-Checked: Checked by ClamAV on apache.org While investigating DERBY-6228 I have tripped across what I believe to be quite a bit of dead code in the client driver: In many ClientResultSet methods we have a very different control flow if the member variable sensitivity_ has the value sensitivity_sensitive_dynamic_. But AFAICT (that is, according to my IDE), sensitivity_ is never assigned this value. I'm I missing something here? Does anyone know why this code was added? Was it in anticipation of future support for dynamic cursors? D