Fixed the calculation of the size of data for OBI_STR and OBI_SEQ

columns
This commit is contained in:
Celine Mercier
2016-04-25 10:26:51 +02:00
parent 5d08da46a2
commit 5f98d2ed5c

View File

@ -40,8 +40,12 @@ size_t obi_sizeof(OBIType_t type)
case OBI_CHAR: size = sizeof(obichar_t);
break;
case OBI_STR: // fallthrough
case OBI_SEQ: // fallthrough
case OBI_STR: size = sizeof(index_t);
break;
case OBI_SEQ: size = sizeof(index_t);
break;
case OBI_IDX: size = sizeof(index_t);
break;