Commit d6747f96 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+9 −4
Original line number Diff line number Diff line
@@ -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);