File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ impl From<libsql::Error> for Error {
162162
163163#[ napi]
164164pub struct Database {
165- path : String ,
166165 db : libsql:: Database ,
167166 conn : Option < Arc < tokio:: sync:: Mutex < libsql:: Connection > > > ,
168167 default_safe_integers : AtomicBool ,
@@ -237,7 +236,6 @@ impl Database {
237236 . map_err ( Error :: from) ?
238237 }
239238 Ok ( Database {
240- path : path. clone ( ) ,
241239 db,
242240 conn : Some ( Arc :: new ( Mutex :: new ( conn) ) ) ,
243241 default_safe_integers,
@@ -718,7 +716,7 @@ impl Statement {
718716 }
719717
720718 #[ napi]
721- pub fn iterate_sync ( & self , env : Env , params : Option < napi:: JsUnknown > ) -> Result < RowsIterator > {
719+ pub fn iterate_sync ( & self , _env : Env , params : Option < napi:: JsUnknown > ) -> Result < RowsIterator > {
722720 let rt = runtime ( ) ?;
723721 let safe_ints = self . safe_ints . load ( Ordering :: SeqCst ) ;
724722 let raw = self . raw . load ( Ordering :: SeqCst ) ;
You can’t perform that action at this time.
0 commit comments