maria:bb-10.2-MDEV-12067

Last commit made on 2017-07-03
Get this branch:
git clone -b bb-10.2-MDEV-12067 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.2-MDEV-12067
Repository:
lp:maria

Recent commits

007d3ed... by Lixun Peng <email address hidden> on 2017-07-03

MDEV-12067 flashback does not correcly revert update/replace statements

Problem
-------
For one-statement contains multiple row events, Flashback didn't reverse the
sequence of row events inside one-statement.

Solution
--------
Using a new array 'events_in_stmt' to store the row events of one-statement,
when parsed the last one event, then print from the last one to the first one.

In the same time, fixed another bug, without -vv will not insert the table_map
into print_event_info->m_table_map, then change_to_flashback_event() will not
execute because of Table_map_log_event is empty.

92f1837... by Monty <email address hidden> on 2017-07-01

Fixed compilation warnings (while testing 32 bit builds)

cc8912f... by Monty <email address hidden> on 2017-07-01

Fixed failing test on 32 bit systems

3833097... by Monty <email address hidden> on 2017-07-01

Clean up BUILD script

- Removed some not old, not used build scipts
- Removed tokudb and rocksdb from 32 bit builds
  This enables one now to easily build 32 bit binaries
  on 64 bit systems

2e9b55f... by Monty <email address hidden> on 2017-07-01

MDEV-13226 Server crashes when tmpdir runs out of space

There was a missing test in CTE handling if creating a temporary table
failed (in this case as a result of out of space). This caused a table
handler to be used even if it was not allocated.

c436338... by Marko Mäkelä on 2017-06-30

Assert that DB_TRX_ID must be set on delete-marked records

This is preparation for MDEV-12288, which would set DB_TRX_ID=0
when purging history. Also with that change in place, delete-marked
records must always refer to an undo log record via a nonzero
DB_TRX_ID column. (The DB_TRX_ID is only present in clustered index
leaf page records.)

btr_cur_parse_del_mark_set_clust_rec(), rec_get_trx_id():
Statically allocate the offsets
(should never use the heap). Add some debug assertions.

Replace some use of rec_get_trx_id() with row_get_rec_trx_id().

trx_undo_report_row_operation(): Add some sanity checks that are
common for all operations that produce undo log.

53235cb... by Jacob Mathew on 2017-06-30

Updated spider/bg and spider/handler mtr suites.

f99b835... by Monty <email address hidden> on 2017-06-30

Added submodule updates to BUILD scripts

a2d5bd9... by Monty <email address hidden> on 2017-06-30

Fixed wrong results in show_all_plugins.test

- Crude hack to get it to work. Hope Serg has a better solution at some point..

b356eae... by Monty <email address hidden> on 2017-06-30

Don't create tags for .xz files