Fixed the calculation of the size of data for OBI_STR and OBI_SEQ
columns
This commit is contained in:
@ -40,8 +40,12 @@ size_t obi_sizeof(OBIType_t type)
|
|||||||
case OBI_CHAR: size = sizeof(obichar_t);
|
case OBI_CHAR: size = sizeof(obichar_t);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OBI_STR: // fallthrough
|
case OBI_STR: size = sizeof(index_t);
|
||||||
case OBI_SEQ: // fallthrough
|
break;
|
||||||
|
|
||||||
|
case OBI_SEQ: size = sizeof(index_t);
|
||||||
|
break;
|
||||||
|
|
||||||
case OBI_IDX: size = sizeof(index_t);
|
case OBI_IDX: size = sizeof(index_t);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user