File tree 1 file changed +0
-11
lines changed
postgres-protocol/src/message
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -375,15 +375,10 @@ impl ReplicationMessage<Bytes> {
375
375
INTERPRETED_WAL_RECORD_TAG => {
376
376
let streaming_lsn = buf. read_u64 :: < BigEndian > ( ) ?;
377
377
let commit_lsn = buf. read_u64 :: < BigEndian > ( ) ?;
378
- let next_record_lsn = match buf. read_u64 :: < BigEndian > ( ) ? {
379
- 0 => None ,
380
- lsn => Some ( lsn) ,
381
- } ;
382
378
383
379
ReplicationMessage :: RawInterpretedWalRecords ( RawInterpretedWalRecordsBody {
384
380
streaming_lsn,
385
381
commit_lsn,
386
- next_record_lsn,
387
382
data : buf. read_all ( ) ,
388
383
} )
389
384
}
@@ -976,7 +971,6 @@ impl<D> XLogDataBody<D> {
976
971
pub struct RawInterpretedWalRecordsBody < D > {
977
972
streaming_lsn : u64 ,
978
973
commit_lsn : u64 ,
979
- next_record_lsn : Option < u64 > ,
980
974
data : D ,
981
975
}
982
976
@@ -991,11 +985,6 @@ impl<D> RawInterpretedWalRecordsBody<D> {
991
985
self . commit_lsn
992
986
}
993
987
994
- #[ inline]
995
- pub fn next_record_lsn ( & self ) -> Option < u64 > {
996
- self . next_record_lsn
997
- }
998
-
999
988
#[ inline]
1000
989
pub fn data ( & self ) -> & D {
1001
990
& self . data
You can’t perform that action at this time.
0 commit comments