mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -71,7 +71,17 @@ public class SQLLimit extends SQLObjectImpl {
|
||||
}
|
||||
|
||||
public SQLLimit clone() {
|
||||
throw new UnsupportedOperationException();
|
||||
SQLLimit x = new SQLLimit();
|
||||
|
||||
if (offset != null) {
|
||||
x.setOffset(offset.clone());
|
||||
}
|
||||
|
||||
if (rowCount != null) {
|
||||
x.setRowCount(rowCount.clone());
|
||||
}
|
||||
|
||||
return x;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user