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 | 90b3eefb32921d66d69e7fb8a8fd09eff98f6677 (patch) | |
tree | 539cfbfc86cc6ab12af93c1faadddd5e5edddd2a /cmd-line-utils/readline/terminal.c | |
parent | 38b21ee0d7bd34fbc85a0926ac78c5dbfe9e9047 (diff) | |
download | mariadb-git-90b3eefb32921d66d69e7fb8a8fd09eff98f6677.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 'cmd-line-utils/readline/terminal.c')
0 files changed, 0 insertions, 0 deletions