added extra case for get prim size
This commit is contained in:
1 parent
fbd08c634a
commit
616a7b6b67
1 file changed
+4
@@ -116,6 +116,10 @@ int getPrimSize(TableNode *definition) {
|
||||
"Invalid.");
|
||||
return -1;
|
||||
}
|
||||
if(getAdInfoType(definition) == TYPE_ARRAY_TYPE){
|
||||
//special case to return size for reference to an array
|
||||
return 8;
|
||||
}
|
||||
if (definition->additionalinfo == NULL) {
|
||||
printdebug("node has NULL additionalinfo. Invalid.");
|
||||
return -1;
|
||||
|
||||
Reference in new issue
Block a user