fix: invalid input
This commit is contained in:
parent
c647372f94
commit
71d49d8241
|
@ -3328,7 +3328,7 @@ static int32_t tColDataMerge(SArray **colArr) {
|
||||||
SRowKey lastKey;
|
SRowKey lastKey;
|
||||||
for (int32_t i = 0; i < numRows; i++) {
|
for (int32_t i = 0; i < numRows; i++) {
|
||||||
SRowKey key;
|
SRowKey key;
|
||||||
tColDataArrGetRowKey((SColData *)TARRAY_DATA(dst), taosArrayGetSize(dst), i, &key);
|
tColDataArrGetRowKey((SColData *)TARRAY_DATA(src), taosArrayGetSize(src), i, &key);
|
||||||
|
|
||||||
if (i == 0 || tRowKeyCompare(&key, &lastKey) != 0) { // append new row
|
if (i == 0 || tRowKeyCompare(&key, &lastKey) != 0) { // append new row
|
||||||
for (int32_t j = 0; j < taosArrayGetSize(src); j++) {
|
for (int32_t j = 0; j < taosArrayGetSize(src); j++) {
|
||||||
|
|
Loading…
Reference in New Issue