File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -463,16 +463,12 @@ impl StorageAdapter {
463463 pub fn local_state ( & self ) -> Result < Option < LocalState > , PowerSyncError > {
464464 let stmt = self
465465 . db
466- . prepare_v2 ( "SELECT target_op, last_op FROM ps_buckets WHERE name = ?" ) ?;
466+ . prepare_v2 ( "SELECT target_op FROM ps_buckets WHERE name = ?" ) ?;
467467 stmt. bind_text ( 1 , "$local" , sqlite_nostd:: Destructor :: STATIC ) ?;
468468
469469 Ok ( if stmt. step ( ) ? == ResultCode :: ROW {
470470 let target_op = stmt. column_int64 ( 0 ) ;
471- let last_op = stmt. column_int64 ( 1 ) ;
472- Some ( LocalState {
473- target_op,
474- _last_op : last_op,
475- } )
471+ Some ( LocalState { target_op } )
476472 } else {
477473 None
478474 } )
@@ -481,7 +477,6 @@ impl StorageAdapter {
481477
482478pub struct LocalState {
483479 pub target_op : i64 ,
484- pub _last_op : i64 ,
485480}
486481
487482pub struct BucketInfo {
You can’t perform that action at this time.
0 commit comments