Commit 48a3175c authored by unknown's avatar unknown

Bug#25818 No return of NDB share object in failures in open method

- correct manual/auto merge to 5.1


parent 888ffb66
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment