summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2019-08-13 17:17:56 +0300
committerMonty <monty@mariadb.org>2019-08-13 17:19:00 +0300
commitc4fd167d5a740f67ee5287a9b05b5383403b9ed0 (patch)
tree19e760d27e1361aa6fbd4e6c750cd92321e40bad /sql-common
parent2dbe472ed011a951b28434ae8e67945e964d2030 (diff)
downloadmariadb-git-c4fd167d5a740f67ee5287a9b05b5383403b9ed0.tar.gz
Fixed access to unitialized memory when using unique HASH key
Fixed the following issues: - Call info with HA_STATUS_CONST to ensure that (key_info->rec_per_key) contains latest data - Don't access rec_per_key if key_info->algorithm == HA_KEY_ALG_LONG_HASH is in this case the rec_per_key points to uninitialized data - Cleaned up code to avoid some extra 'if' and to make things more readable - Updated test cases that used 'old' rec_per_key values
Diffstat (limited to 'sql-common')
0 files changed, 0 insertions, 0 deletions