Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65f6996a authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

am eb4bd19e: Terminate loop properly when cursor window is full. DO NOT MERGE

* commit 'eb4bd19e':
  Terminate loop properly when cursor window is full. DO NOT MERGE
parents 348d0a68 eb4bd19e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -272,7 +272,7 @@ public class DatabaseUtils {
        window.setStartPosition(position);
        window.setNumColumns(numColumns);
        if (cursor.moveToPosition(position)) {
            do {
            rowloop: do {
                if (!window.allocRow()) {
                    break;
                }
@@ -309,7 +309,7 @@ public class DatabaseUtils {
                    }
                    if (!success) {
                        window.freeLastRow();
                        break;
                        break rowloop;
                    }
                }
                position += 1;