diff options
author | Vasil Dimov <vasil.dimov@oracle.com> | 2013-03-18 17:20:30 +0200 |
---|---|---|
committer | Vasil Dimov <vasil.dimov@oracle.com> | 2013-03-18 17:20:30 +0200 |
commit | 57059380b5b5a76bbfccf8922451c5aa8cfd49b7 (patch) | |
tree | 539cfbfc86cc6ab12af93c1faadddd5e5edddd2a /sql/rpl_handler.h | |
parent | f865697b9e1b980a63b99037f451276d5a2f59ab (diff) | |
download | mariadb-git-57059380b5b5a76bbfccf8922451c5aa8cfd49b7.tar.gz |
Fix Bug#16400412 UNNECESSARY DICT_UPDATE_STATISTICS DURING CONCURRENT
UPDATES
After checking that the table has changed too much in
row_update_statistics_if_needed() and calling dict_update_statistics(),
also check if the same condition holds after acquiring the table stats
latch. This is to avoid multiple threads concurrently entering and
executing the stats update code.
Approved by: Marko (rb:2186)
Diffstat (limited to 'sql/rpl_handler.h')
0 files changed, 0 insertions, 0 deletions