mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add testcase & remove unused code
This commit is contained in:
@@ -42,7 +42,7 @@ public class MockClob implements Clob {
|
||||
|
||||
@Override
|
||||
public String getSubString(long pos, int length) throws SQLException {
|
||||
return new String(bytes, (int) pos, length);
|
||||
return new String(bytes, (int) (pos - 1), length);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user