summaryrefslogtreecommitdiff
path: root/storage/myisam/mi_cache.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-05-27 00:18:20 +0200
committerSergei Golubchik <serg@mariadb.org>2015-06-02 18:53:37 +0200
commitd9340d6c8e1b227044fc90bc40c5da1d1f6b0dcc (patch)
tree30659a043a61b91001148bcefe9284a5a9468af7 /storage/myisam/mi_cache.c
parent318c826e932af69a864726efd24819d1cfa8dc8a (diff)
downloadmariadb-git-d9340d6c8e1b227044fc90bc40c5da1d1f6b0dcc.tar.gz
MDEV-8126 encryption for temp files
IO_CACHE tempfiles encryption
Diffstat (limited to 'storage/myisam/mi_cache.c')
-rw-r--r--storage/myisam/mi_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/myisam/mi_cache.c b/storage/myisam/mi_cache.c
index d86dcb4d918..edcc3520c35 100644
--- a/storage/myisam/mi_cache.c
+++ b/storage/myisam/mi_cache.c
@@ -43,6 +43,7 @@ int _mi_read_cache(IO_CACHE *info, uchar *buff, my_off_t pos, uint length,
my_off_t offset;
uchar *in_buff_pos;
DBUG_ENTER("_mi_read_cache");
+ DBUG_ASSERT(!(info->myflags & MY_ENCRYPT));
if (pos < info->pos_in_file)
{