am af595a0f: Merge "Fix bugs regarding IllegalStateException during moving position in cursorwindow."
# By Jangwon Lee # Via Gerrit Code Review (1) and git-lg-database.lge.com (1) * commit 'af595a0f37643f12f32860fdea43fb67b74654b4': Fix bugs regarding IllegalStateException during moving position in cursorwindow.
This commit is contained in:
@@ -706,7 +706,7 @@ static jlong nativeExecuteForCursorWindow(JNIEnv* env, jclass clazz,
|
|||||||
}
|
}
|
||||||
|
|
||||||
CopyRowResult cpr = copyRow(env, window, statement, numColumns, startPos, addedRows);
|
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.
|
// 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.
|
// Clear the window and start filling it again from here.
|
||||||
// TODO: Would be nicer if we could progressively replace earlier rows.
|
// TODO: Would be nicer if we could progressively replace earlier rows.
|
||||||
|
|||||||
Reference in New Issue
Block a user