summaryrefslogtreecommitdiff
path: root/pstack/libiberty.h
diff options
context:
space:
mode:
authorunknown <svoj@mysql.com/june.mysql.com>2007-07-05 11:45:14 +0500
committerunknown <svoj@mysql.com/june.mysql.com>2007-07-05 11:45:14 +0500
commitb7bf9725852640bf843a5bd5fc83d6a0556406de (patch)
tree5b26f141a181f4412db77a6f322eb129bd8f2a06 /pstack/libiberty.h
parentbe684dc0ee86be11af02f918bd9063baa637a753 (diff)
downloadmariadb-git-b7bf9725852640bf843a5bd5fc83d6a0556406de.tar.gz
BUG#27564 - Valgrind: UDF does not cleanup correctly
Dropping an user defined function may cause server crash in case this function is still in use by another thread. The problem was that our hash implementation didn't update hash link list properly when hash_update() was called. mysys/hash.c: The following requirement wasn't met by hash_update() function causing corruption of hash links list: After a record was unlinked from the old chain during update, it holds random position. By the chance this position is equal to position for the first element in the new chain. That means updated record is the only record in the new chain.
Diffstat (limited to 'pstack/libiberty.h')
0 files changed, 0 insertions, 0 deletions