mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
change version & fixed java doc.
This commit is contained in:
@@ -19,7 +19,7 @@ public final class VERSION {
|
||||
|
||||
public final static int MajorVersion = 1;
|
||||
public final static int MinorVersion = 1;
|
||||
public final static int RevisionVersion = 2;
|
||||
public final static int RevisionVersion = 3;
|
||||
|
||||
public static String getVersionNumber() {
|
||||
return VERSION.MajorVersion + "." + VERSION.MinorVersion + "." + VERSION.RevisionVersion;
|
||||
|
||||
@@ -466,48 +466,6 @@ public class SQLJoinTableSource extends SQLTableSourceImpl implements SQLReplace
|
||||
return right.containsAlias(alias_a) && left.containsAlias(alias_b);
|
||||
}
|
||||
|
||||
/**
|
||||
* a, b left join c ->
|
||||
*/
|
||||
// public boolean addCondition(SQLBinaryOpExpr condition, JoinType joinType) {
|
||||
// if (this.left == null || this.right == null) {
|
||||
// return false;
|
||||
// }
|
||||
//
|
||||
// if (!(condition.getLeft() instanceof SQLPropertyExpr
|
||||
// && condition.getRight() instanceof SQLPropertyExpr)) {
|
||||
// return false;
|
||||
// }
|
||||
//
|
||||
// SQLPropertyExpr left = (SQLPropertyExpr) condition.getLeft();
|
||||
// SQLPropertyExpr right = (SQLPropertyExpr) condition.getRight();
|
||||
//
|
||||
// String leftOwner = left.getOwnernName();
|
||||
// String rightOwner = right.getOwnernName();
|
||||
//
|
||||
// if (this.left.containsAlias(leftOwner) && this.right.containsAlias(rightOwner)) {
|
||||
// if (this.joinType == joinType) {
|
||||
// this.addConditionnIfAbsent(condition);
|
||||
// return true;
|
||||
// }
|
||||
//
|
||||
// if (this.joinType == null || this.joinType == JoinType.COMMA) {
|
||||
// this.joinType = joinType;
|
||||
// this.addConditionnIfAbsent(condition);
|
||||
// return true;
|
||||
// }
|
||||
//
|
||||
// if (this.joinType == JoinType.LEFT_OUTER_JOIN && joinType == JoinType.RIGHT_OUTER_JOIN) {
|
||||
// if (this.left instanceof SQLJoinTableSource && ((SQLJoinTableSource) this.left).joinType == JoinType.COMMA) {
|
||||
// SQLJoinTableSource leftJoin = (SQLJoinTableSource) this.left;
|
||||
//
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// return false;
|
||||
// }
|
||||
//
|
||||
public boolean conditionContainsTable(String alias) {
|
||||
if (condition == null) {
|
||||
return false;
|
||||
|
||||
@@ -51,7 +51,7 @@ public final class FnvHash {
|
||||
}
|
||||
|
||||
/**
|
||||
* lower & normalized & fnv_1a_64
|
||||
* lower and normalized and fnv_1a_64
|
||||
* @param name
|
||||
* @return
|
||||
*/
|
||||
@@ -184,7 +184,7 @@ public final class FnvHash {
|
||||
}
|
||||
|
||||
/**
|
||||
* normalized & lower & fnv1a_64_hash
|
||||
* normalized and lower and fnv1a_64_hash
|
||||
* @param owner
|
||||
* @param name
|
||||
* @return
|
||||
|
||||
Reference in New Issue
Block a user