Fix

parent 89415d27
...@@ -580,7 +580,7 @@ NdbTableImpl::getColumn(const char * name){ ...@@ -580,7 +580,7 @@ NdbTableImpl::getColumn(const char * name){
} else { } else {
for(Uint32 i = 0; i<sz; i++){ for(Uint32 i = 0; i<sz; i++){
NdbColumnImpl* col = * cols++; NdbColumnImpl* col = * cols++;
if(col != 0 && strncmp(name, col->m_name.c_str(), col->m_name.length()) == 0) if(col != 0 && strcmp(name, col->m_name.c_str()) == 0)
return col; return col;
} }
} }
......
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