format code

This commit is contained in:
54liuyao 2024-05-15 10:54:53 +08:00
parent 4c603fee55
commit 167cdc79c5
1 changed files with 13 additions and 13 deletions

View File

@ -38,19 +38,19 @@ extern "C" {
(_k)->ekey.ts = INT64_MIN; \
} while (0);
#define tRowGetKeyEx(_pRow, _pKey) \
{ \
if ((_pRow)->type == TSDBROW_ROW_FMT) { \
(_pKey)->ts = (_pRow)->pTSRow->ts; \
if ((_pRow)->pTSRow->numOfPKs > 0) { \
tRowGetPrimaryKey((_pRow)->pTSRow, (_pKey)); \
} \
} else { \
(_pKey)->ts = (_pRow)->pBlockData->aTSKEY[(_pRow)->iRow]; \
if ((_pRow)->pBlockData->nColData > 0) { \
tColRowGetPrimaryKey((_pRow)->pBlockData, (_pRow)->iRow, (_pKey)); \
} \
} \
#define tRowGetKeyEx(_pRow, _pKey) \
{ \
if ((_pRow)->type == TSDBROW_ROW_FMT) { \
(_pKey)->ts = (_pRow)->pTSRow->ts; \
if ((_pRow)->pTSRow->numOfPKs > 0) { \
tRowGetPrimaryKey((_pRow)->pTSRow, (_pKey)); \
} \
} else { \
(_pKey)->ts = (_pRow)->pBlockData->aTSKEY[(_pRow)->iRow]; \
if ((_pRow)->pBlockData->nColData > 0) { \
tColRowGetPrimaryKey((_pRow)->pBlockData, (_pRow)->iRow, (_pKey)); \
} \
} \
}
typedef enum {