Fixed the calculation of the size of data for OBI_STR and OBI_SEQ
columns
This commit is contained in:
1 parent
5d08da46a2
commit
5f98d2ed5c
1 file changed
+6
-2
+6
-2
@@ -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