diff options
author | serg@serg.mylan <> | 2005-03-10 00:10:10 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2005-03-10 00:10:10 +0100 |
commit | e40bf3c40be557687bcd2d318b092ac0ed0275ef (patch) | |
tree | b78b7fa2ef8be6fc0d46db46b3e586339fc2d9e5 /sql/ha_ndbcluster.cc | |
parent | 3b0e983bf05f091c70ee3a7567597b20a0d199d8 (diff) | |
download | mariadb-git-e40bf3c40be557687bcd2d318b092ac0ed0275ef.tar.gz |
sql/ha_ndbcluster.cc
after merge fix
sql/sql_parse.cc
correct max_connections condition
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r-- | sql/ha_ndbcluster.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 03235190cb3..dd0e4f5b022 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -416,9 +416,9 @@ void ha_ndbcluster::invalidateDictionaryCache() NDBDICT *dict= get_ndb()->getDictionary(); DBUG_PRINT("info", ("invalidating %s", m_tabname)); dict->invalidateTable(m_tabname); - table->version=0L; /* Free when thread is ready */ + table->s->version=0L; /* Free when thread is ready */ /* Invalidate indexes */ - for (uint i= 0; i < table->keys; i++) + for (uint i= 0; i < table->s->keys; i++) { NDBINDEX *index = (NDBINDEX *) m_index[i].index; NDBINDEX *unique_index = (NDBINDEX *) m_index[i].unique_index; @@ -428,7 +428,7 @@ void ha_ndbcluster::invalidateDictionaryCache() case(PRIMARY_KEY_ORDERED_INDEX): case(ORDERED_INDEX): dict->invalidateIndex(index->getName(), m_tabname); - break; + break; case(UNIQUE_ORDERED_INDEX): dict->invalidateIndex(index->getName(), m_tabname); case(UNIQUE_INDEX): |