summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2005-06-24 17:47:09 +0200
committerunknown <ingo@mysql.com>2005-06-24 17:47:09 +0200
commita7e66efc2cc37b8ca32868ac8c8e3e3c05675e48 (patch)
treecdb8c2576769d4678d13b4b2a6b8cc5d2eafd5f5 /scripts
parent5aa793f72bfdf5e5903ad4999691fdb72f507de3 (diff)
downloadmariadb-git-a7e66efc2cc37b8ca32868ac8c8e3e3c05675e48.tar.gz
Bug#10178 - failure to find a row in heap table by concurrent UPDATEs
Moved the key statistics update to info(). The table is not locked in open(). This made wrong stats possible. No test case for the test suite. This happens only with heavy concurrency. A test script is added to the bug report. mysql-test/r/heap_hash.result: Bug#10178 - failure to find a row in heap table by concurrent UPDATEs Updated test results to reflect the new statistics behaviour. mysql-test/t/heap_hash.test: Bug#10178 - failure to find a row in heap table by concurrent UPDATEs Added a FLUSH TABLES to avoid statistics differences between normal and ps-protocol tests. sql/ha_heap.cc: Bug#10178 - failure to find a row in heap table by concurrent UPDATEs Moved the key statistics update to info(). The table is not locked in open(). This made wrong stats possible. sql/ha_heap.h: Bug#10178 - failure to find a row in heap table by concurrent UPDATEs Added an element to track the validity of the key statistics.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions