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 {
463
463
pub fn local_state ( & self ) -> Result < Option < LocalState > , PowerSyncError > {
464
464
let stmt = self
465
465
. 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 = ?" ) ?;
467
467
stmt. bind_text ( 1 , "$local" , sqlite_nostd:: Destructor :: STATIC ) ?;
468
468
469
469
Ok ( if stmt. step ( ) ? == ResultCode :: ROW {
470
470
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 } )
476
472
} else {
477
473
None
478
474
} )
@@ -481,7 +477,6 @@ impl StorageAdapter {
481
477
482
478
pub struct LocalState {
483
479
pub target_op : i64 ,
484
- pub _last_op : i64 ,
485
480
}
486
481
487
482
pub struct BucketInfo {
You can’t perform that action at this time.
0 commit comments