* commit '17fa101c3744dc0834b86f0841cf29bbfd1f6f29': Terminate loop properly when cursor window is full.
This commit is contained in:
@@ -270,7 +270,7 @@ public class DatabaseUtils {
|
||||
window.setStartPosition(position);
|
||||
window.setNumColumns(numColumns);
|
||||
if (cursor.moveToPosition(position)) {
|
||||
do {
|
||||
rowloop: do {
|
||||
if (!window.allocRow()) {
|
||||
break;
|
||||
}
|
||||
@@ -307,7 +307,7 @@ public class DatabaseUtils {
|
||||
}
|
||||
if (!success) {
|
||||
window.freeLastRow();
|
||||
break;
|
||||
break rowloop;
|
||||
}
|
||||
}
|
||||
position += 1;
|
||||
|
||||
Reference in New Issue
Block a user