diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-04-18 19:05:57 +0000 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-04-27 19:12:40 +0200 |
commit | ce4c56db0c5806ccbea8ad78585f95f6c335b0ea (patch) | |
tree | 06c75c921b6947320e86487fc7a41dbb55307d95 /extra/mariabackup/xbcrypt_common.c | |
parent | d7714308e014a7335e1c0f60dc0afbf5eba5ff99 (diff) | |
download | mariadb-git-ce4c56db0c5806ccbea8ad78585f95f6c335b0ea.tar.gz |
MDEV-9566 Port Percona Xtrabackup to MariaDB as mariabackup
- Modify backup code to work with MariaDB's 10.1 xtradb
- Remove crypt encryption, version_check.pl, "compact backup"
- Add encryption plugin
Diffstat (limited to 'extra/mariabackup/xbcrypt_common.c')
-rw-r--r-- | extra/mariabackup/xbcrypt_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/mariabackup/xbcrypt_common.c b/extra/mariabackup/xbcrypt_common.c index fe34fcb3bb0..52fa2ce3589 100644 --- a/extra/mariabackup/xbcrypt_common.c +++ b/extra/mariabackup/xbcrypt_common.c @@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif +#ifdef HAVE_GRYPT #include <gcrypt.h> #if GCC_VERSION >= 4002 @@ -58,3 +59,4 @@ xb_crypt_create_iv(void* ivbuf, size_t ivlen) { gcry_create_nonce(ivbuf, ivlen); } +#endif
\ No newline at end of file |