1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

last go at enabling using const NdbDictionary didn't work

+ some docs update on events
This commit is contained in:
tomas@poseidon.ndb.mysql.com
2005-01-05 19:59:45 +01:00
parent 79fb236b0a
commit fa5127e2ff
5 changed files with 33 additions and 19 deletions

View File

@@ -72,7 +72,7 @@ int main()
}
// Optionally connect and wait for the storage nodes (ndbd's)
if (cluster_connection.wait_until_ready(30,30))
if (cluster_connection.wait_until_ready(30,0) < 0)
{
std::cout << "Cluster was not ready within 30 secs.\n";
exit(-1);
@@ -92,7 +92,6 @@ int main()
run_application(mysql, cluster_connection);
}
// ndb_end should not be called until all "Ndb" objects are deleted
ndb_end(0);
std::cout << "\nTo drop created table use:\n"