Skip to content

Commit

Permalink
Fix PERCONA_EXT renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
dAdAbird committed Sep 4, 2024
1 parent 9828734 commit 0ef92bf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/access/pg_tde_xlog_encrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "postgres.h"

#ifdef PERCONA_FORK
#ifdef PERCONA_EXT
#include "pg_tde.h"
#include "pg_tde_defines.h"
#include "access/xlog.h"
Expand Down Expand Up @@ -311,4 +311,4 @@ SetXLogPageIVPrefix(TimeLineID tli, XLogRecPtr lsn, char* iv_prefix)
iv_prefix[11] = (lsn & 0xFF);
}

#endif /* PERCONA_FORK */
#endif /* PERCONA_EXT */
4 changes: 2 additions & 2 deletions src/include/access/pg_tde_xlog_encrypt.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define PG_TDE_XLOGENCRYPT_H

#include "postgres.h"
#ifdef PERCONA_FORK
#ifdef PERCONA_EXT
#include "access/xlog_smgr.h"

extern Size TDEXLogEncryptBuffSize(void);
Expand All @@ -30,6 +30,6 @@ static const XLogSmgr tde_xlog_smgr = {
extern void TDEXLogSmgrInit(void);
extern void XLogInitGUC(void);

#endif /* PERCONA_FORK */
#endif /* PERCONA_EXT */

#endif /* PG_TDE_XLOGENCRYPT_H */
4 changes: 2 additions & 2 deletions src/include/access/pg_tde_xlog_encrypt_fe.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef PG_TDE_XLOGENCRYPT_FE_H
#define PG_TDE_XLOGENCRYPT_FE_H

#ifdef PERCONA_FORK
#ifdef PERCONA_EXT
#include "access/pg_tde_xlog_encrypt.h"
#include "catalog/tde_global_space.h"
#include "encryption/enc_aes.h"
Expand All @@ -24,6 +24,6 @@
TDEInitGlobalKeys(kring_dir); \
TDEXLogSmgrInit()

#endif /* PERCONA_FORK */
#endif /* PERCONA_EXT */

#endif /* PG_TDE_XLOGENCRYPT_FE_H */
2 changes: 1 addition & 1 deletion src/pg_tde.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ tde_shmem_startup(void)
TdeShmemInit();
AesInit();

#ifdef PERCONA_FORK
#ifdef PERCONA_EXT
TDEInitGlobalKeys(NULL);

TDEXLogShmemInit();
Expand Down

0 comments on commit 0ef92bf

Please sign in to comment.