UINT64_MAX-elimination.patch

text/plain

Filename: UINT64_MAX-elimination.patch
Type: text/plain
Part: 0
Message: Re: SSI patch version 14

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
src/include/storage/predicate_internals.h 1 0
*** a/src/include/storage/predicate_internals.h
--- b/src/include/storage/predicate_internals.h
***************
*** 33,39 **** typedef uint64 SerCommitSeqNo;
   *	  at that point.  It's earlier than all normal sequence numbers,
   *	  and is only used by recovered prepared transactions
   */
! #define InvalidSerCommitSeqNo		UINT64_MAX
  #define RecoverySerCommitSeqNo		((SerCommitSeqNo) 1)
  #define FirstNormalSerCommitSeqNo	((SerCommitSeqNo) 2)
  
--- 33,39 ----
   *	  at that point.  It's earlier than all normal sequence numbers,
   *	  and is only used by recovered prepared transactions
   */
! #define InvalidSerCommitSeqNo		((SerCommitSeqNo) UINT64CONST(0xFFFFFFFFFFFFFFFF))
  #define RecoverySerCommitSeqNo		((SerCommitSeqNo) 1)
  #define FirstNormalSerCommitSeqNo	((SerCommitSeqNo) 2)