summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/fil0crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/include/fil0crypt.h')
-rw-r--r--storage/xtradb/include/fil0crypt.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/storage/xtradb/include/fil0crypt.h b/storage/xtradb/include/fil0crypt.h
index c42a0cf7e3f..32462661cd6 100644
--- a/storage/xtradb/include/fil0crypt.h
+++ b/storage/xtradb/include/fil0crypt.h
@@ -1,6 +1,6 @@
/*****************************************************************************
Copyright (C) 2013, 2015, Google Inc. All Rights Reserved.
-Copyright (c) 2015, MariaDB Corporation.
+Copyright (c) 2015, 2016, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -212,6 +212,7 @@ bool
fil_space_check_encryption_read(
/*============================*/
ulint space); /*!< in: tablespace id */
+
/******************************************************************
Decrypt a page
@return true if page is decrypted, false if not. */
@@ -226,7 +227,6 @@ fil_space_decrypt(
dberr_t* err); /*!< in: out: DB_SUCCESS or
error code */
-
/*********************************************************************
Encrypt buffer page
@return encrypted page, or original not encrypted page if encrypt
@@ -253,7 +253,8 @@ fil_space_decrypt(
ulint space, /*!< in: tablespace id */
byte* src_frame, /*!< in: page frame */
ulint page_size, /*!< in: size of data to encrypt */
- byte* dst_frame); /*!< in: where to decrypt to */
+ byte* dst_frame) /*!< in: where to decrypt to */
+ __attribute__((warn_unused_result));
/*********************************************************************
fil_space_verify_crypt_checksum