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:
unknown 2007-05-11 09:19:03 +02:00
parent 888ffb66d2
commit 48a3175c47

View file

@ -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