From 551cbfe0c641061653951d473a9cb9a43ea94897 Mon Sep 17 00:00:00 2001 From: "magnus@neptunus.(none)" <> Date: Thu, 7 Oct 2004 09:09:18 +0200 Subject: [PATCH 1/2] Fix error message --- ndb/src/kernel/vm/Configuration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndb/src/kernel/vm/Configuration.cpp b/ndb/src/kernel/vm/Configuration.cpp index fd5d79b92e7..7fb8dbcb003 100644 --- a/ndb/src/kernel/vm/Configuration.cpp +++ b/ndb/src/kernel/vm/Configuration.cpp @@ -203,7 +203,7 @@ Configuration::fetch_configuration(LocalConfig &local_config){ /* Set stop on error to true otherwise NDB will go into an restart loop... */ - ERROR_SET(fatal, ERR_INVALID_CONFIG, "Could connect to ndb_mgmd", s); + ERROR_SET(fatal, ERR_INVALID_CONFIG, "Could not connect to ndb_mgmd", s); } m_mgmd_port= m_config_retriever->get_mgmd_port(); From 6985bcd59d04c30dd7865aa07fee20223c7ed6e0 Mon Sep 17 00:00:00 2001 From: "magnus@neptunus.(none)" <> Date: Thu, 7 Oct 2004 09:16:46 +0200 Subject: [PATCH 2/2] Don't show NDB$BLOB tables in SHOW TABLES --- sql/ha_ndbcluster.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 6d643298a79..7747fb685fc 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -3948,8 +3948,8 @@ int ndbcluster_find_files(THD *thd,const char *db,const char *path, while ((file_name=it2++)) { DBUG_PRINT("info", ("Table %s need discovery", name)); - ha_create_table_from_engine(thd, db, file_name, true); - files->push_back(thd->strdup(file_name)); + if (ha_create_table_from_engine(thd, db, file_name, true) == 0) + files->push_back(thd->strdup(file_name)); } pthread_mutex_unlock(&LOCK_open);