chore: flen/offset adaption for row
This commit is contained in:
parent
f77f447fe6
commit
359f536e1b
|
@ -139,6 +139,7 @@ void insSetBoundColumnInfo(SParsedDataColInfo* pColList, SSchema* pSchema, col_i
|
||||||
if (i > 0) {
|
if (i > 0) {
|
||||||
pColList->cols[i].offset = pColList->cols[i - 1].offset + pSchema[i - 1].bytes;
|
pColList->cols[i].offset = pColList->cols[i - 1].offset + pSchema[i - 1].bytes;
|
||||||
pColList->cols[i].toffset = pColList->flen;
|
pColList->cols[i].toffset = pColList->flen;
|
||||||
|
pColList->flen += TYPE_BYTES[type];
|
||||||
}
|
}
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case TSDB_DATA_TYPE_BINARY:
|
case TSDB_DATA_TYPE_BINARY:
|
||||||
|
|
Loading…
Reference in New Issue