mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-28 21:44:21 +01:00
handle empty string in findColumn() method
This commit is contained in:
@@ -674,11 +674,6 @@ class JDBC4ResultSetTest {
|
||||
|
||||
ResultSet resultSet = stmt.executeQuery("SELECT * FROM test_empty");
|
||||
|
||||
// Before calling next()
|
||||
// Empty ResultSet should return false for isBeforeFirst()
|
||||
assertFalse(resultSet.isBeforeFirst());
|
||||
assertFalse(resultSet.isAfterLast());
|
||||
|
||||
// After calling next() on empty ResultSet
|
||||
assertFalse(resultSet.next());
|
||||
assertFalse(resultSet.isBeforeFirst());
|
||||
|
||||
Reference in New Issue
Block a user