summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2005-05-19 12:53:44 +0200
committermsvensson@neptunus.(none) <>2005-05-19 12:53:44 +0200
commitcb5bfad14ef0611ab31b60560704b4d9fdef4bfa (patch)
tree810ceb4626b7dad78fef84c2f4462c1d6dc6769f /ndb
parent89415d272c0fff93b84d70ecde732d40ba32cbc2 (diff)
downloadmariadb-git-cb5bfad14ef0611ab31b60560704b4d9fdef4bfa.tar.gz
Fix
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/ndbapi/NdbDictionaryImpl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/src/ndbapi/NdbDictionaryImpl.hpp b/ndb/src/ndbapi/NdbDictionaryImpl.hpp
index d61bc2ecc55..7e3e3b19294 100644
--- a/ndb/src/ndbapi/NdbDictionaryImpl.hpp
+++ b/ndb/src/ndbapi/NdbDictionaryImpl.hpp
@@ -580,7 +580,7 @@ NdbTableImpl::getColumn(const char * name){
} else {
for(Uint32 i = 0; i<sz; i++){
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;
}
}