Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 13181 invoked from network); 5 Feb 2008 20:05:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2008 20:05:29 -0000 Received: (qmail 21842 invoked by uid 500); 5 Feb 2008 20:05:20 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 21816 invoked by uid 500); 5 Feb 2008 20:05:20 -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 21807 invoked by uid 99); 5 Feb 2008 20:05:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 12:05:20 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.98.31] (HELO brmea-mail-1.sun.com) (192.18.98.31) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 20:04:50 +0000 Received: from fe-amer-10.sun.com ([192.18.109.80]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m15K4vl0006975 for ; Tue, 5 Feb 2008 20:04:57 GMT Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JVS00H016X0MZ00@mail-amer.sun.com> (original mail from Camilla.Haase@Sun.COM) for derby-dev@db.apache.org; Tue, 05 Feb 2008 13:04:57 -0700 (MST) Received: from [129.148.71.199] by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JVS00AK47MRKV90@mail-amer.sun.com> for derby-dev@db.apache.org; Tue, 05 Feb 2008 13:01:40 -0700 (MST) Date: Tue, 05 Feb 2008 15:09:50 -0500 From: Kim Haase Subject: Re: Bug fixes in trunk that are not in 10.3 branch In-reply-to: <47A792F1.9020803@sbcglobal.net> Sender: Camilla.Haase@Sun.COM To: derby-dev@db.apache.org Reply-to: Camilla.Haase@Sun.COM Message-id: <47A8C28E.3030905@Sun.COM> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <47A75BD0.6040009@sbcglobal.net> <47A792F1.9020803@sbcglobal.net> User-Agent: Thunderbird 2.0.0.6 (X11/20070802) X-Virus-Checked: Checked by ClamAV on apache.org I notice that at least for doc bugs, there have been some cases that this report hasn't caught. Three bugs that I know of that were fixed for 10.4 have empty version fields, and two of these have empty fixversion fields too: DERBY-2240 (no version) DERBY-3072, DERBY-3297 (no version or fixversion) Two of these are closed, one is resolved. Would it make sense to fill in these fields? 3072 was fixed by Rick Hillegas, the other two by me. There may be other such bugs; I don't know. Thanks, Kim Kathey Marsden wrote: > Myrna asked me how I generated this report. > 1) I patched the demo to include a few extra columns. > Index: java/demo/vtis/java/org/apache/derbyDemo/vtis/example/VTIs.java > > =================================================================== > > --- java/demo/vtis/java/org/apache/derbyDemo/vtis/example/VTIs.java > (revision 618330) > > +++ java/demo/vtis/java/org/apache/derbyDemo/vtis/example/VTIs.java > (working copy) > > @@ -94,8 +94,8 @@ > > @XMLRow > ( > rowTag = "item", > - childTags = { "key", "type", "priority", "status", > "component", "title" }, > - childTypes = { "varchar(12)", "varchar(10)", "varchar(10)", > "varchar(10)", "varchar(50)", "varchar(200)" }, > + childTags = { "key", "type", "assignee", "priority", "status", > "component", "version","fixVersion", "title","resolution" }, > + childTypes = { "varchar(12)", "varchar(10)", "varchar(50)", > "varchar(10)", "varchar(10)", "varchar(50)", "varchar(150)", > "varchar(150)", "varchar(200)","varchar(20)" }, > vtiClassName = "org.apache.derbyDemo.vtis.core.XmlVTI" > ) > public static ResultSet apacheVanillaJiraReport( String > xmlResource ) throws SQLException > > I had to build the demo with javac -g -d $WS/classes. It did not seem to > build automatically as part of the build. I don't know if that is a > problem. > > 2) I ran the part of the demoFileVtis.sql file related to the JiraVTI > > connect 'jdbc:derby:vtitest;create=true'; > > ---------------------------------------------------------------------------------------- > > -- > -- Drop and recreate the database procedures and tables needed > -- by this demonstration script. > -- > ---------------------------------------------------------------------------------------- > > > -- > -- Drop procedures and tables > -- > drop procedure registerXMLRowVTIs; > > -- > -- Drop miscellaneous table functions > -- > drop function svnLogReader; > drop function propertyFileVTI; > > > -- > -- Recreate procedures > -- > create procedure registerXMLRowVTIs( className varchar( 32672 ) ) > language java > parameter style java > modifies sql data > external name 'org.apache.derbyDemo.vtis.core.XmlVTI.registerXMLRowVTIs' > ; > > ---------------------------------------------------------------------------------------- > > -- > -- Declare the table functions. > -- > ---------------------------------------------------------------------------------------- > > > -- > -- Register the table functions in the VTIs class > -- > call registerXMLRowVTIs( 'org.apache.derbyDemo.vtis.example.VTIs' ); > > -- > > > 3) I ran the report. > > select s."key", s."title", s."assignee" > from table( "apacheVanillaJiraReport"( > 'file:///kmarsden/projects/tablefunction/all_JIRA_ISSUES.xml' ) ) s > where "type" = 'Bug' AND "version" LIKE '%10.3%' AND "fixVersion" LIKE > '%10.4%' AND NOT "fixVersion" LIKE '%10.3%' AND "resolution" = 'Fixed'; > > > The version and the fixversion values are kind of weird with all the > versions smashed together, but the worked ok for my purposes. I don't > know whether it would be appropriate to add them to the demo though in > that format. > > Kathey >