diff options
author | Karthik Kamath <karthik.kamath@oracle.com> | 2017-03-10 22:34:38 +0530 |
---|---|---|
committer | Karthik Kamath <karthik.kamath@oracle.com> | 2017-03-10 22:34:38 +0530 |
commit | fc4c53c28899abf5547e0e0a89b4d91645250895 (patch) | |
tree | 2d8af35fb82b5d2672baa6f0bb7c291b1e409717 /sql/records.cc | |
parent | 2531c8dcd152bedeeebfe07d5e4a29bd84357c27 (diff) | |
download | mariadb-git-fc4c53c28899abf5547e0e0a89b4d91645250895.tar.gz |
BUG#24807826: UINT3KORR SHOULD STOP READING FOUR INSTEAD OF
THREE BYTES ON X86
Post push fix for resolving main.archive test failure in valgrind.
Diffstat (limited to 'sql/records.cc')
-rw-r--r-- | sql/records.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/records.cc b/sql/records.cc index ae7ec74c17d..14a4390b229 100644 --- a/sql/records.cc +++ b/sql/records.cc @@ -596,7 +596,7 @@ static int init_rr_cache(THD *thd, READ_RECORD *info) DBUG_RETURN(1); #ifdef HAVE_purify // Avoid warnings in qsort - bzero(info->cache,rec_cache_size+info->cache_records* info->struct_length+1); + bzero(info->cache,rec_cache_size+info->cache_records* info->struct_length); #endif DBUG_PRINT("info",("Allocated buffert for %d records",info->cache_records)); info->read_positions=info->cache+rec_cache_size; |