You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Daniel John Debrunner <dj...@debrunners.com> on 2005/10/19 00:33:42 UTC

lang/forUpgrade.sql failing in 10.1

Looks like the 10.1 change to fix leading comments with statements
causes lang/forUpdate.sql to fail with a changed error message.

Author: kmarsden
Date: Tue Oct 18 13:32:10 2005
New Revision: 326222

URL: http://svn.apache.org/viewcvs?rev=326222&view=rev

*** Start: forupdate jdk1.4.2 DerbyNetClient 2005-10-18 15:01:40 ***
23 del
< ERROR 42X01: Syntax error: Encountered "<EOF>" at line 3, column 23.
23a23
> ERROR 42X01: Syntax error: Encountered "<EOF>" at line 1, column 23.
180 del
< ERROR 42X01: Syntax error: Encountered "." at line 3, column 34.
180a180
> ERROR 42X01: Syntax error: Encountered "." at line 1, column 34.
Test Failed.
*** End:   forupdate jdk1.4.2 DerbyNetClient 2005-10-18 15:02:13 ***

Dan.




Re: lang/forUpgrade.sql failing in 10.1

Posted by Army <qo...@sbcglobal.net>.
Daniel John Debrunner wrote:

> Looks like the 10.1 change to fix leading comments with statements
> causes lang/forUpdate.sql to fail with a changed error message.

The new logic in ij only strips comments if the client is 10.1 or earlier, and 
since the original patch was against 10.2, the master file reflects the fact 
that the comments were NOT stripped.  For the 10.1 branch, the comments are 
still stripped, hence the diff you're seeing.

I'll post a fix for this against 10.1 shortly.

Army