correctly detect empty ResultSet in next()

This commit is contained in:
kimminseok
2025-10-09 10:29:46 +09:00
parent 104c2ffc5e
commit 76b57e5d0c

View File

@@ -91,6 +91,9 @@ public final class TursoResultSet {
}
pastLastRow = lastStepResult.isDone();
if (pastLastRow && row == 0) {
isEmptyResultSet = true;
}
return !pastLastRow;
}