BUG#25743 If undo_buffer_size (for LG) greater than the inital shared memory (default 20M), ndbd nodes are crashed

This commit is contained in:
tomas@poseidon.mysql.com 2007-03-09 10:21:11 +07:00
parent f6845d1423
commit 451a8b7772

View file

@ -307,8 +307,11 @@ RecordPool<T, P>::seize(Ptr<T> & ptr)
{
Ptr<void> tmp;
bool ret = m_pool.seize(tmp);
if(likely(ret))
{
ptr.i = tmp.i;
ptr.p = static_cast<T*>(tmp.p);
}
return ret;
}