maria:bb-10.2-monty

Last commit made on 2019-09-03
Get this branch:
git clone -b bb-10.2-monty https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.2-monty
Repository:
lp:maria

Recent commits

8dc9e78... by Monty <email address hidden> on 2019-09-03

Fix of query cache bug in Aria

MDEV-5817 query cache bug (returning inconsistent/old result
set) with aria table parallel inserts, row format = page

The problem is that for transactional aria tables
(row_type=PAGE and transactional=1), maria_lock_database()
didn't flush the state or the query cache.
Not flushing the state is correct for transactional tables as
this is done by checkpoint, but not flushing the query cache
was wrong and could cause concurrent SELECT queries to not
be deleted from the cache.

Fixed by introducing a flush of the query cache as part of commit, if the table has changed.
t for transactional aria tables (row_type=PAGE and transactional=1), maria_lock_table() didn't flush their state or the query cache.

Some recent commit information could not be fetched.