mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add testcase & bug fixed
This commit is contained in:
@@ -77,7 +77,7 @@ public class MockResultSet extends ResultSetBase implements ResultSet {
|
||||
throw new SQLException();
|
||||
}
|
||||
|
||||
if (rowIndex > 0) {
|
||||
if (rowIndex >= 0) {
|
||||
rowIndex--;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user