Commit d6747f96 authored by unknown's avatar unknown

Merge problem

FC3 fix


sql/ha_ndbcluster.cc:
  Fixed merge problem, that occured when m_ndb where removed. 
  Fix fo FC3 compile problem.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent a2a3cf65
......@@ -141,6 +141,7 @@ mronstrom@build.mysql.com
mronstrom@mysql.com
mskold@mysql.com
msvensson@build.mysql.com
msvensson@neptunus.homeip.net
mwagner@cash.mwagner.org
mwagner@evoq.mwagner.org
mwagner@here.mwagner.org
......
......@@ -2905,9 +2905,13 @@ int ha_ndbcluster::reset()
DBUG_RETURN(1);
}
static const char *ha_ndb_bas_ext[]= { ha_ndb_ext, NullS };
const char **ha_ndbcluster::bas_ext() const
{ static const char *ext[]= { ha_ndb_ext, NullS }; return ext; }
const char**
ha_ndbcluster::bas_ext() const
{
return ha_ndb_bas_ext;
}
/*
......@@ -4644,8 +4648,9 @@ ha_ndbcluster::cached_table_registration(
}
{
Uint64 commit_count;
m_ndb->setDatabaseName(m_dbname);
if (ndb_get_table_statistics(m_ndb, m_tabname, 0, &commit_count))
Ndb *ndb= get_ndb();
ndb->setDatabaseName(m_dbname);
if (ndb_get_table_statistics(ndb, m_tabname, 0, &commit_count))
{
*engine_data= 0;
DBUG_RETURN(FALSE);
......
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