mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Bug#25818 No return of NDB share object in failures in open method
- correct manual/auto merge to 5.1
This commit is contained in:
parent
888ffb66d2
commit
48a3175c47
1 changed files with 2 additions and 2 deletions
|
@ -6292,9 +6292,9 @@ int ha_ndbcluster::open(const char *name, int mode, uint test_if_locked)
|
|||
}
|
||||
if (res)
|
||||
{
|
||||
free_share(m_share);
|
||||
free_share(&m_share);
|
||||
m_share= 0;
|
||||
release_metadata();
|
||||
release_metadata(current_thd, get_ndb());
|
||||
DBUG_RETURN(res);
|
||||
}
|
||||
#ifdef HAVE_NDB_BINLOG
|
||||
|
|
Loading…
Reference in a new issue