mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Fix for valgrind warning: check whether pointer was initialized.
storage/myisammrg/ha_myisammrg.cc: myisam pointer is not relevant if a error was raised.
This commit is contained in:
parent
1dafac6f35
commit
2db684572e
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ static MI_INFO *myisammrg_attach_children_callback(void *callback_param)
|
|||
my_errno= HA_ERR_WRONG_MRG_TABLE_DEF;
|
||||
}
|
||||
DBUG_PRINT("myrg", ("MyISAM handle: 0x%lx my_errno: %d",
|
||||
(long) myisam, my_errno));
|
||||
my_errno ? NULL : (long) myisam, my_errno));
|
||||
|
||||
err:
|
||||
DBUG_RETURN(my_errno ? NULL : myisam);
|
||||
|
|
Loading…
Add table
Reference in a new issue