Bug #22214852: MYSQL 5.5 AND 5.6: MAIN.KEY AND OTHER
FAILURE WITH VALGRIND FOR RELEASE BUILD Issue: ------ Initialization of variable with UNINIT_VAR is flagged by valgrind 3.11. SOLUTION: --------- Initialize the variable to 0. This is a backport of Bug# 14580121.
This commit is contained in:
parent
6d1e2fbca8
commit
63dc9c3f42
@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -138,7 +138,7 @@ int chk_del(MI_CHECK *param, register MI_INFO *info, uint test_flag)
|
||||
{
|
||||
reg2 ha_rows i;
|
||||
uint delete_link_length;
|
||||
my_off_t empty,next_link,UNINIT_VAR(old_link);
|
||||
my_off_t empty, next_link, old_link= 0;
|
||||
char buff[22],buff2[22];
|
||||
DBUG_ENTER("chk_del");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user