mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved PageUtils.limit & WallFilter support selectLimit. for issue #1369
This commit is contained in:
@@ -133,4 +133,15 @@ public class SQLSelect extends SQLObjectImpl {
|
||||
|
||||
return super.toString();
|
||||
}
|
||||
|
||||
public SQLSelect clone() {
|
||||
SQLSelect clone = new SQLSelect();
|
||||
|
||||
clone.withSubQuery = this.withSubQuery;
|
||||
clone.query = this.query;
|
||||
clone.orderBy = this.orderBy;
|
||||
clone.hints = this.hints;
|
||||
|
||||
return clone;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user