mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for sql parser. issue #1507
This commit is contained in:
@@ -79,9 +79,10 @@ public class OdpsSelectQueryBlock extends SQLSelectQueryBlock {
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) return true;
|
||||
if (obj == null) return false;
|
||||
if (getClass() != obj.getClass()) return false;
|
||||
if (!super.equals(obj)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
OdpsSelectQueryBlock other = (OdpsSelectQueryBlock) obj;
|
||||
if (limit == null) {
|
||||
if (other.limit != null) return false;
|
||||
|
||||
Reference in New Issue
Block a user