summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fil0crypt.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-04-28 12:22:32 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-04-28 12:22:32 +0300
commitf740d23ce6574bf57449aa48b22d6345f35ad2c0 (patch)
tree85eb18f1464b3dc76e571354401a2072cb8c8ba0 /storage/innobase/include/fil0crypt.h
parente21c15a7e626b5c01d9770d82aaed56053c7baef (diff)
parent97e0c260dc8273f809915505f8dfdccd948b4b99 (diff)
downloadmariadb-git-f740d23ce6574bf57449aa48b22d6345f35ad2c0.tar.gz
Merge 10.1 into 10.2
Diffstat (limited to 'storage/innobase/include/fil0crypt.h')
-rw-r--r--storage/innobase/include/fil0crypt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/fil0crypt.h b/storage/innobase/include/fil0crypt.h
index 831d61445d8..497595bab7c 100644
--- a/storage/innobase/include/fil0crypt.h
+++ b/storage/innobase/include/fil0crypt.h
@@ -116,10 +116,10 @@ struct fil_space_crypt_t : st_encryption_scheme
min_key_version(new_min_key_version),
page0_offset(0),
encryption(new_encryption),
- key_found(),
+ mutex(),
+ key_found(new_min_key_version),
rotate_state()
{
- key_found = new_min_key_version;
key_id = new_key_id;
my_random_bytes(iv, sizeof(iv));
mutex_create(LATCH_ID_FIL_CRYPT_DATA_MUTEX, &mutex);