Merge problem

FC3 fix
parent d52bac6a
...@@ -141,6 +141,7 @@ mronstrom@build.mysql.com ...@@ -141,6 +141,7 @@ mronstrom@build.mysql.com
mronstrom@mysql.com mronstrom@mysql.com
mskold@mysql.com mskold@mysql.com
msvensson@build.mysql.com msvensson@build.mysql.com
msvensson@neptunus.homeip.net
mwagner@cash.mwagner.org mwagner@cash.mwagner.org
mwagner@evoq.mwagner.org mwagner@evoq.mwagner.org
mwagner@here.mwagner.org mwagner@here.mwagner.org
......
...@@ -2905,9 +2905,13 @@ int ha_ndbcluster::reset() ...@@ -2905,9 +2905,13 @@ int ha_ndbcluster::reset()
DBUG_RETURN(1); DBUG_RETURN(1);
} }
static const char *ha_ndb_bas_ext[]= { ha_ndb_ext, NullS };
const char **ha_ndbcluster::bas_ext() const const char**
{ static const char *ext[]= { ha_ndb_ext, NullS }; return ext; } ha_ndbcluster::bas_ext() const
{
return ha_ndb_bas_ext;
}
/* /*
...@@ -4644,8 +4648,9 @@ ha_ndbcluster::cached_table_registration( ...@@ -4644,8 +4648,9 @@ ha_ndbcluster::cached_table_registration(
} }
{ {
Uint64 commit_count; Uint64 commit_count;
m_ndb->setDatabaseName(m_dbname); Ndb *ndb= get_ndb();
if (ndb_get_table_statistics(m_ndb, m_tabname, 0, &commit_count)) ndb->setDatabaseName(m_dbname);
if (ndb_get_table_statistics(ndb, m_tabname, 0, &commit_count))
{ {
*engine_data= 0; *engine_data= 0;
DBUG_RETURN(FALSE); 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