mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
BugFix: Use columnName for hash when findColumn and findTableSourceWithColumn
This commit is contained in:
@@ -129,7 +129,7 @@ public abstract class SQLTableSourceImpl extends SQLObjectImpl implements SQLTab
|
||||
return null;
|
||||
}
|
||||
|
||||
long hash = FnvHash.hashCode64(alias);
|
||||
long hash = FnvHash.hashCode64(columnName);
|
||||
return findColumn(hash);
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ public abstract class SQLTableSourceImpl extends SQLObjectImpl implements SQLTab
|
||||
return null;
|
||||
}
|
||||
|
||||
long hash = FnvHash.hashCode64(alias);
|
||||
long hash = FnvHash.hashCode64(columnName);
|
||||
return findTableSourceWithColumn(hash, columnName, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user