"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "hsqldb/src/org/hsqldb/Expression.java" between
hsqldb-2.6.0.zip and hsqldb-2.6.1.zip

About: HSQLDB (HyperSQL DataBase) is a SQL relational database engine written in Java. It supports nearly full ANSI-92 SQL (BNF format) and full core SQL:2008.

Expression.java  (hsqldb-2.6.0):Expression.java  (hsqldb-2.6.1)
skipping to change at line 64 skipping to change at line 64
import org.hsqldb.types.NullType; import org.hsqldb.types.NullType;
import org.hsqldb.types.RowType; import org.hsqldb.types.RowType;
import org.hsqldb.types.Type; import org.hsqldb.types.Type;
import org.hsqldb.types.Types; import org.hsqldb.types.Types;
/** /**
* Expression class. * Expression class.
* *
* @author Campbell Burnet (campbell-burnet@users dot sourceforge.net) * @author Campbell Burnet (campbell-burnet@users dot sourceforge.net)
* @author Fred Toussi (fredt@users dot sourceforge.net) * @author Fred Toussi (fredt@users dot sourceforge.net)
* @version 2.6.0 * @version 2.6.1
* @since 1.9.0 * @since 1.9.0
*/ */
public class Expression implements Cloneable { public class Expression implements Cloneable {
public static final int LEFT = 0; public static final int LEFT = 0;
public static final int RIGHT = 1; public static final int RIGHT = 1;
public static final int THIRD = 2; public static final int THIRD = 2;
public static final int UNARY = 1; public static final int UNARY = 1;
public static final int BINARY = 2; public static final int BINARY = 2;
public static final int TERNARY = 3; public static final int TERNARY = 3;
skipping to change at line 202 skipping to change at line 202
switch (expression.opType) { switch (expression.opType) {
case OpTypes.VALUE : case OpTypes.VALUE :
case OpTypes.COLUMN : case OpTypes.COLUMN :
case OpTypes.ROW : case OpTypes.ROW :
case OpTypes.FUNCTION : case OpTypes.FUNCTION :
case OpTypes.SQL_FUNCTION : case OpTypes.SQL_FUNCTION :
case OpTypes.ALTERNATIVE : case OpTypes.ALTERNATIVE :
case OpTypes.CASEWHEN : case OpTypes.CASEWHEN :
case OpTypes.CAST : case OpTypes.CAST :
case OpTypes.CONVERT :
return ddl; return ddl;
} }
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
ddl = sb.append('(').append(ddl).append(')').toString(); ddl = sb.append('(').append(ddl).append(')').toString();
return ddl; return ddl;
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)