Commit d33ce6f5 authored by unknown's avatar unknown

ndb - bug#13512

  core dump on no free node id


ndb/tools/restore/consumer_restore.cpp:
  return correct value
parent a5dd3d5d
...@@ -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