|
|
@ -325,7 +325,6 @@ TDEXLogWriteEncryptedPagesOldKeys(int fd, const void *buf, size_t count, off_t o |
|
|
|
return pg_pwrite(fd, enc_buff, count, offset); |
|
|
|
return pg_pwrite(fd, enc_buff, count, offset); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Encrypt XLog page(s) from the buf and write to the segment file. |
|
|
|
* Encrypt XLog page(s) from the buf and write to the segment file. |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -544,7 +543,6 @@ TDEXLogCryptBuffer(const void *buf, void *out_buf, size_t count, off_t offset, |
|
|
|
* is part of the key. |
|
|
|
* is part of the key. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
size_t end_lsn = |
|
|
|
size_t end_lsn = |
|
|
|
data_end.tli < curr_key->range.end.tli ? data_end.lsn : |
|
|
|
data_end.tli < curr_key->range.end.tli ? data_end.lsn : |
|
|
|
Min(data_end.lsn, curr_key->range.end.lsn); |
|
|
|
Min(data_end.lsn, curr_key->range.end.lsn); |
|
|
|