mariadb/storage/xtradb/row
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
..
row0ext.cc move to storage/xtradb 2015-05-04 19:15:28 +02:00
row0ftsort.cc MDEV-12634: Uninitialised ROW_MERGE_RESERVE_SIZE bytes written to tem… 2017-09-14 09:23:20 +03:00
row0import.cc MDEV-13105 InnoDB fails to load a table with PAGE_COMPRESSION_LEVEL after upgrade from 10.1.20 2017-07-05 14:55:56 +03:00
row0ins.cc Merge remote-tracking branch 'origin/bb-10.1-jplindst' into 10.1 2017-08-29 20:30:18 +03:00
row0log.cc MDEV-12634: Uninitialised ROW_MERGE_RESERVE_SIZE bytes written to tem… 2017-09-14 09:23:20 +03:00
row0merge.cc MDEV-12634: Uninitialised ROW_MERGE_RESERVE_SIZE bytes written to tem… 2017-09-14 09:23:20 +03:00
row0mysql.cc Remove some fields from dict_table_t 2017-06-15 12:41:02 +03:00
row0purge.cc Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:27:04 +03:00
row0quiesce.cc 5.6.31-77.0 2016-08-10 19:24:58 +02:00
row0row.cc 5.6.31-77.0 2016-08-10 19:24:58 +02:00
row0sel.cc Merge 10.0 into 10.1 2017-09-06 15:32:56 +03:00
row0uins.cc Merge 10.0 into 10.1 2017-08-28 15:05:46 +03:00
row0umod.cc Merge 10.0 into 10.1 2017-08-28 15:05:46 +03:00
row0undo.cc MDEV-9282 Debian: the Lintian complains about "shlib-calls-exit" in ha_innodb.so 2016-12-28 15:54:24 +02:00
row0upd.cc Galera after-merge fixes 2017-08-30 12:29:47 +03:00
row0vers.cc move to storage/xtradb 2015-05-04 19:15:28 +02:00