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

Commit 8180bcee authored by Jeffrey Brown's avatar Jeffrey Brown Committed by Android Git Automerger
Browse files

am 3d33806a: am 1950d2e6: am af595a0f: Merge "Fix bugs regarding...

am 3d33806a: am 1950d2e6: am af595a0f: Merge "Fix bugs regarding IllegalStateException during moving position in cursorwindow."

# By Jangwon Lee
# Via Android Git Automerger (2) and others
* commit '3d33806a':
  Fix bugs regarding IllegalStateException during moving position in cursorwindow.
parents 8f149698 3d33806a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -706,7 +706,7 @@ static jlong nativeExecuteForCursorWindow(JNIEnv* env, jclass clazz,
            }

            CopyRowResult cpr = copyRow(env, window, statement, numColumns, startPos, addedRows);
            if (cpr == CPR_FULL && addedRows && startPos + addedRows < requiredPos) {
            if (cpr == CPR_FULL && addedRows && startPos + addedRows <= requiredPos) {
                // We filled the window before we got to the one row that we really wanted.
                // Clear the window and start filling it again from here.
                // TODO: Would be nicer if we could progressively replace earlier rows.