Commit ddf3cb98 authored by joreland@mysql.com's avatar joreland@mysql.com

fix NdbDictionary

parent a4de5211
...@@ -1799,6 +1799,7 @@ NdbDictionaryImpl::getIndexImpl(const char * externalName, ...@@ -1799,6 +1799,7 @@ NdbDictionaryImpl::getIndexImpl(const char * externalName,
NdbIndexImpl* idx; NdbIndexImpl* idx;
if(NdbDictInterface::create_index_obj_from_table(&idx, tab, prim) == 0){ if(NdbDictInterface::create_index_obj_from_table(&idx, tab, prim) == 0){
idx->m_table = tab; idx->m_table = tab;
idx->m_externalName.assign(externalName);
idx->m_internalName.assign(internalName); idx->m_internalName.assign(internalName);
// TODO Assign idx to tab->m_index // TODO Assign idx to tab->m_index
// Don't do it right now since assign can't asign a table with index // Don't do it right now since assign can't asign a table with index
......
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