[tinysql] SQL parsing problem

daniel carter dcarter@waitaki.otago.ac.nz
Thu, 5 Dec 2002 17:36:15 +1300


On Thu, 05 Dec 2002 17:22, Brian Jepson wrote:
> Thanks; can you try a 'cvs diff -w'?  That should ignore whitespace, which
> sometimes causes this problem.

Yup, that works


[dcarter@holyford tinySQL]$ cvs diff -w src/ORG/as220/tinySQL/sqlparser/ColumnValue.java
Index: src/ORG/as220/tinySQL/sqlparser/ColumnValue.java
===================================================================
RCS file: /home/cvsroot/tinySQL/src/ORG/as220/tinySQL/sqlparser/ColumnValue.java,v
retrieving revision 1.2
diff -w -r1.2 ColumnValue.java
71c71
<     int index = row.findColumn(colname);
---
>     int index = row.findColumn(column);
73c73
<       throw new tinySQLException("column " + colname + " was not found");
---
>       throw new tinySQLException("column " + column + " was not found");