mariadb/mysql-test/suite/encryption
Varun Gupta b94e8e4b25 MDEV-23867: insert... select crash in compute_window_func
There are 2 issues here:

Issue #1: memory allocation.
An IO_CACHE that uses encryption uses a larger buffer (it needs space for the encrypted data,
decrypted data, IO_CACHE_CRYPT struct to describe encryption parameters etc).

Issue #2: IO_CACHE::seek_not_done
When IO_CACHE objects are cloned, they still share the file descriptor.
This means, operation on one IO_CACHE may change the file read position
which will confuse other IO_CACHEs using it.

The fix of these issues would be:
Allocate the buffer to also include the extra size needed for encryption.
Perform seek again after one IO_CACHE reads the file.
2020-10-23 22:36:47 +05:30
..
include MDEV-9099: Test encryption.innodb_encryption_discard_import fails on buildbot 2016-10-29 10:09:06 +03:00
r MDEV-23867: insert... select crash in compute_window_func 2020-10-23 22:36:47 +05:30
t MDEV-23867: insert... select crash in compute_window_func 2020-10-23 22:36:47 +05:30
disabled.def MDEV-13893/MDEV-12699: Enable encryption.innodb-redo-badkey 2019-09-13 17:07:58 +03:00
my.cnf Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
suite.pm