summaryrefslogtreecommitdiff
path: root/ndb/src/ndbapi/NdbSchemaOp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/src/ndbapi/NdbSchemaOp.cpp')
-rw-r--r--ndb/src/ndbapi/NdbSchemaOp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ndb/src/ndbapi/NdbSchemaOp.cpp b/ndb/src/ndbapi/NdbSchemaOp.cpp
index 9f4d7fbcfd4..9e495229661 100644
--- a/ndb/src/ndbapi/NdbSchemaOp.cpp
+++ b/ndb/src/ndbapi/NdbSchemaOp.cpp
@@ -29,6 +29,7 @@ Documentation: Handles createTable and createAttribute calls
Adjust: 980125 UABMNST First version.
020826 EMIKRON New version for new DICT
*****************************************************************************/
+#include <assert.h>
#include "NdbSchemaOp.hpp"
#include "NdbSchemaCon.hpp"
#include "API.hpp"
@@ -139,6 +140,8 @@ NdbSchemaOp::createAttribute( const char* anAttrName,
case String:
col.setType(NdbDictionary::Column::Char);
break;
+ case NoAttrTypeDef:
+ abort();
}
col.setLength(anArraySize);
col.setNullable(nullable);