mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-03 17:48:17 +00:00
Nit
This commit is contained in:
parent
e48d7aa763
commit
c18418bed0
3 changed files with 4 additions and 3 deletions
|
@ -29,7 +29,6 @@ impl LimboStatement {
|
|||
Box::into_raw(Box::new(self)) as jlong
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn drop(ptr: jlong) {
|
||||
let _boxed = unsafe { Box::from_raw(ptr as *mut LimboStatement) };
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.github.tursodatabase.core;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import org.github.tursodatabase.annotations.Nullable;
|
||||
import org.slf4j.Logger;
|
||||
|
@ -40,7 +41,8 @@ public class LimboResultSet {
|
|||
}
|
||||
|
||||
/**
|
||||
* Consumes all the rows in this result set until the {@link #next()} method returns `false`.
|
||||
* Consumes all the rows in this {@link ResultSet} until the {@link #next()} method returns
|
||||
* `false`.
|
||||
*
|
||||
* @throws SQLException if the result set is not open or if an error occurs while iterating.
|
||||
*/
|
||||
|
|
|
@ -61,7 +61,7 @@ class JDBC4ResultSetTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
void resultSet_close_test() throws Exception {
|
||||
void close_resultSet_test() throws Exception {
|
||||
stmt.executeUpdate("CREATE TABLE users (id INT PRIMARY KEY, username TEXT);");
|
||||
stmt.executeUpdate("INSERT INTO users VALUES (2, 'seonwoo');");
|
||||
stmt.executeQuery("SELECT * FROM users");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue