summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/fil0crypt.h
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2015-06-29 14:10:37 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2015-06-29 14:10:37 +0300
commit79af0b3823aa91d30914a7e3378bf644995bea7f (patch)
treee0adfe9d693e1f2c778d5fca26422b7b84a211cc /storage/xtradb/include/fil0crypt.h
parent4fac6269172eab2be0490a12936248113d14848d (diff)
downloadmariadb-git-79af0b3823aa91d30914a7e3378bf644995bea7f.tar.gz
MDEV-8393: InnoDB: Assertion failure in file fil0crypt.cc line 2109
Crypt data was used when it was already freed. Delete crypt data more thorougly when freed.
Diffstat (limited to 'storage/xtradb/include/fil0crypt.h')
-rw-r--r--storage/xtradb/include/fil0crypt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/xtradb/include/fil0crypt.h b/storage/xtradb/include/fil0crypt.h
index 8593b64f72c..5936d43769d 100644
--- a/storage/xtradb/include/fil0crypt.h
+++ b/storage/xtradb/include/fil0crypt.h
@@ -88,6 +88,7 @@ struct fil_space_crypt_struct : st_encryption_scheme
ib_mutex_t mutex; // mutex protecting following variables
bool closing; // is tablespace being closed
+ bool inited;
fil_space_rotate_state_t rotate_state;
};