mariadb/storage/innobase
Jan Lindström fa2701c6f7 MDEV-12634: Uninitialised ROW_MERGE_RESERVE_SIZE bytes written to tem…
…porary file

Fixed by removing writing key version to start of every block that
was encrypted. Instead we will use single key version from log_sys
crypt info.

After this MDEV also blocks writen to row log are encrypted and blocks
read from row log aren decrypted if encryption is configured for the
table.

innodb_status_variables[], struct srv_stats_t
	Added status variables for merge block and row log block
	encryption and decryption amounts.

Removed ROW_MERGE_RESERVE_SIZE define.

row_merge_fts_doc_tokenize
	Remove ROW_MERGE_RESERVE_SIZE

row_log_t
	Add index, crypt_tail, crypt_head to be used in case of
	encryption.

row_log_online_op, row_log_table_close_func
	Before writing a block encrypt it if encryption is enabled

row_log_table_apply_ops, row_log_apply_ops
	After reading a block decrypt it if encryption is enabled

row_log_allocate
	Allocate temporary buffers crypt_head and crypt_tail
	if needed.

row_log_free
	Free temporary buffers crypt_head and crypt_tail if they
	exist.

row_merge_encrypt_buf, row_merge_decrypt_buf
	Removed.

row_merge_buf_create, row_merge_buf_write
	Remove ROW_MERGE_RESERVE_SIZE

row_merge_build_indexes
	Allocate temporary buffer used in decryption and encryption
	if needed.

log_tmp_blocks_crypt, log_tmp_block_encrypt, log_temp_block_decrypt
	New functions used in block encryption and decryption

log_tmp_is_encrypted
	New function to check is encryption enabled.

Added test case innodb-rowlog to force creating a row log and
verify that operations are done using introduced status
variables.
2017-09-14 09:23:20 +03:00
..
api Merge 10.0 into 10.1 2017-08-09 17:14:40 +03:00
btr Merge 10.0 into 10.1 2017-09-06 15:32:56 +03:00
buf Merge 10.0 into 10.1 2017-09-06 15:32:56 +03:00
data
dict Merge tag 'mariadb-10.0.32' into 10.0-galera 2017-08-09 08:56:11 +03:00
dyn Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
eval
fil Merge 10.0 into 10.1 2017-09-06 15:32:56 +03:00
fsp MDEV-13557: Startup failure, unable to decrypt ibdata1 2017-08-29 14:23:34 +03:00
fts MDEV-11738: Mariadb uses 100% of several of my 8 cpus doing nothing 2017-03-14 16:23:10 +02:00
fut Part 1 of MDEV-8139 Fix scrubbing tests 2017-01-04 18:21:42 +02:00
ha
handler MDEV-12634: Uninitialised ROW_MERGE_RESERVE_SIZE bytes written to tem… 2017-09-14 09:23:20 +03:00
ibuf Merge 10.0 into 10.1 2017-09-06 15:32:56 +03:00
include MDEV-12634: Uninitialised ROW_MERGE_RESERVE_SIZE bytes written to tem… 2017-09-14 09:23:20 +03:00
lock Merge 10.0 into 10.1 2017-09-06 15:32:56 +03:00
log MDEV-12634: Uninitialised ROW_MERGE_RESERVE_SIZE bytes written to tem… 2017-09-14 09:23:20 +03:00
mach 5.6.35 2017-01-07 14:24:42 +02:00
mem
mtr Merge 10.0 into 10.1 2017-03-09 08:53:08 +02:00
mysql-test/storage_engine Merge branch '10.0' into 10.1 2017-08-08 10:18:43 +02:00
os Merge tag 'mariadb-10.0.31' into 10.0-galera 2017-05-30 15:28:52 +05:30
page Merge 10.0 into 10.1 2017-09-06 15:32:56 +03:00
pars MDEV-11738: Mariadb uses 100% of several of my 8 cpus doing nothing 2017-03-14 16:23:10 +02:00
que
read
rem Merge tag 'mariadb-10.0.31' into 10.0-galera 2017-05-30 15:28:52 +05:30
row MDEV-12634: Uninitialised ROW_MERGE_RESERVE_SIZE bytes written to tem… 2017-09-14 09:23:20 +03:00
srv MDEV-12634: Uninitialised ROW_MERGE_RESERVE_SIZE bytes written to tem… 2017-09-14 09:23:20 +03:00
sync Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:27:04 +03:00
trx Fix test failures on embedded server. 2017-08-31 08:38:26 +03:00
usr Remove redundant UT_LIST_INIT() calls 2017-05-17 10:33:49 +03:00
ut MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
CMakeLists.txt Merge branch '10.0' into 10.1 2017-08-15 09:50:31 +02:00
compile-innodb
COPYING.Google
COPYING.Percona
Doxyfile
ha_innodb.def
plugin_exports