diff --git a/src/tsdb/src/tsdbMain.c b/src/tsdb/src/tsdbMain.c index afb213345e7ba970295544d430a3cafa79b532f0..b09f6ed4b5a107502f1ee87ba065e05a83d80f1c 100644 --- a/src/tsdb/src/tsdbMain.c +++ b/src/tsdb/src/tsdbMain.c @@ -750,7 +750,7 @@ static int tsdbRestoreLastColumns(STsdbRepo *pRepo, STable *pTable, SReadH* pRea memcpy(pLastCol->pData, pColData, bytes); // save row ts(in column 0) - // pDataCol = pReadh->pDCols[0]->cols + 0; + pDataCol = pReadh->pDCols[0]->cols + 0; // pCol = schemaColAt(pSchema, 0); // tdAppendColVal(memRowDataBody(row), tdGetColDataOfRow(pDataCol, rowId), pCol->type, pCol->offset); // pLastCol->ts = memRowKey(row);