Bug#25668 mysqld may core if cluster disconnected

- recommit in 4.1
This commit is contained in:
tomas@poseidon.mysql.com 2007-01-24 09:41:40 +07:00
parent f6e70c1453
commit 292ba83f40

View file

@ -5373,7 +5373,7 @@ ndb_get_table_statistics(ha_ndbcluster* file, bool report_error, Ndb* ndb,
retry:
if(report_error)
{
if (file)
if (file && pTrans)
{
reterr= file->ndb_err(pTrans);
}