Use cache as long as a trx only performes reads

As before, the cache will be used if there is no ongoing transaction
(includes autocommit being on), or if there is an explicitly read-
only transaction.

In addition, the cache will be used and populated during any other
transaction as long as only pure read statements are executed. After
first non-read statement, the use of the cache is disabled.
This commit is contained in:
Johan Wikman
2017-02-28 14:46:57 +02:00
parent f1ea0b03d1
commit 82049b8ed1
4 changed files with 75 additions and 14 deletions

View File

@ -8,6 +8,14 @@ release 2.1.0.
For any problems you encounter, please consider submitting a bug
report at [Jira](https://jira.mariadb.org).
## Changed Features
### Cache
The cache will now _also_ be used and populated in a transaction that is
_not_ explicitly read only, but only until the first statement that modifies
the database is encountered.
## Dropped Features
### MaxAdmin