Commit 718efc39 authored by tomas@mc05.(none)'s avatar tomas@mc05.(none)

make warning fixes for ndb

parent 62565bed
......@@ -39,7 +39,7 @@
/* RCSID("$KTH: strlcat.c,v 1.1 2000/08/16 01:23:47 lha Exp $"); */
//#include <NdbString.h>
/*#include <NdbString.h>*/
#ifndef HAVE_STRLCAT
size_t
......
......@@ -646,7 +646,7 @@ versionCallback(int nodeId, int version, void * anyData, int errCode){
}
break;
case NDB_MGM_NODE_TYPE_UNKNOWN:
assert(0);
abort();
};
} else {
......
......@@ -140,8 +140,8 @@ NdbSchemaOp::createAttribute( const char* anAttrName,
case String:
col.setType(NdbDictionary::Column::Char);
break;
default:
assert(0);
case NoAttrTypeDef:
abort();
}
col.setLength(anArraySize);
col.setNullable(nullable);
......
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