ndb - bug#13512

  core dump on no free node id
parent acdc193a
...@@ -38,7 +38,7 @@ BackupRestore::init() ...@@ -38,7 +38,7 @@ BackupRestore::init()
m_cluster_connection = new Ndb_cluster_connection(g_connect_string); m_cluster_connection = new Ndb_cluster_connection(g_connect_string);
if(m_cluster_connection->connect(12, 5, 1) != 0) if(m_cluster_connection->connect(12, 5, 1) != 0)
{ {
return -1; return false;
} }
m_ndb = new Ndb(m_cluster_connection); m_ndb = new Ndb(m_cluster_connection);
......
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