diff options
author | unknown <tomas@poseidon.mysql.com> | 2007-01-24 09:41:40 +0700 |
---|---|---|
committer | unknown <tomas@poseidon.mysql.com> | 2007-01-24 09:41:40 +0700 |
commit | 457d4315568c7d26340bea4be8a2c8d96960916c (patch) | |
tree | 5feef96fd0eef050fe2fd9c9de95f86dd88d9f01 /sql/ha_ndbcluster.cc | |
parent | 077840fa23d65e1eb60fdd601802b151ff4b54b4 (diff) | |
download | mariadb-git-457d4315568c7d26340bea4be8a2c8d96960916c.tar.gz |
Bug#25668 mysqld may core if cluster disconnected
- recommit in 4.1
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r-- | sql/ha_ndbcluster.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index fd9a5720e3d..d16e00f4e52 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -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); } |