Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 25494 invoked from network); 7 Oct 2006 18:19:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Oct 2006 18:19:37 -0000 Received: (qmail 53440 invoked by uid 500); 7 Oct 2006 18:19:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 53410 invoked by uid 500); 7 Oct 2006 18:19:36 -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 53400 invoked by uid 99); 7 Oct 2006 18:19:36 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Oct 2006 11:19:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [80.91.229.2] ([80.91.229.2:59764] helo=ciao.gmane.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 42/F6-09076-4BFE7254 for ; Sat, 07 Oct 2006 11:19:34 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GWGld-0005jo-OO for derby-dev@db.apache.org; Sat, 07 Oct 2006 20:19:21 +0200 Received: from host86-141-149-39.range86-141.btcentralplus.com ([86.141.149.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Oct 2006 20:19:21 +0200 Received: from tdudgeon by host86-141-149-39.range86-141.btcentralplus.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Oct 2006 20:19:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: derby-dev@db.apache.org From: Tim Dudgeon Subject: Re: [jira] Resolved: (DERBY-1489) Provide ALTER TABLE DROP COLUMN functionality Date: Sat, 07 Oct 2006 19:18:56 +0100 Lines: 46 Message-ID: References: <21326448.1152375449855.JavaMail.jira@brutus> <2300554.1160090241912.JavaMail.root@brutus> <4527DE4D.6040102@amberpoint.com> <4527EE5F.8030607@amberpoint.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host86-141-149-39.range86-141.btcentralplus.com User-Agent: Thunderbird 1.5.0.4 (X11/20060614) In-Reply-To: <4527EE5F.8030607@amberpoint.com> Sender: news X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N That could be it - I'm on Linux. I'll try build from svn first. Tim Bryan Pendleton wrote: >> I downloaded the 10.2.1.6 sources, and tried to apply the path to those. >> patch -p0 < drop_column_v8_restored_tests.diff > > That seems like a reasonable technique. I tried a similar, but not > identical, > experiment: I took my 10.2 svn sandbox, and I ran patch -p0 and it seemed to work fine, although I got a few "offset 10 lines" > messages. > > I just tried some experiments with the sources from the download zip site > http://db.apache.org/derby/releases/release-10.2.1.6.cgi > and I think the problem may have to do with line-end characters. > > Are you working on a Windows system or on a Unix system? > > The files in the source release appear to have DOS line end characters and > that seems to confuse the patch program. > > Here's three suggestions: > 1) Pull a svn client of the 10.2 branch and apply the patches to that. I've > done it and I believe it works. Plus, that will make it easier for you to > manage the patch process down the road with subsequent releases of the > 10.2 branch > 2) If you're on a Unix system, try grabbing the sources and patching them > on a Windows system. The line end characters may not be a problem then. > 3) Use a tool to convert the line end characters of the files needing to be > patched from DOS format to Unix format, then try applying the patch. > > Meanwhile, I'll ask separately on the developer's list about line end > characters > in the source distributions. > > thanks, > > bryan > > > >