From 167cdc79c5659d2555913ba7a3f99ca651a78c88 Mon Sep 17 00:00:00 2001 From: 54liuyao <54liuyao> Date: Wed, 15 May 2024 10:54:53 +0800 Subject: [PATCH] format code --- source/dnode/vnode/src/tsdb/tsdbReadUtil.h | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/source/dnode/vnode/src/tsdb/tsdbReadUtil.h b/source/dnode/vnode/src/tsdb/tsdbReadUtil.h index fd3ab22d76..c13d9ff563 100644 --- a/source/dnode/vnode/src/tsdb/tsdbReadUtil.h +++ b/source/dnode/vnode/src/tsdb/tsdbReadUtil.h @@ -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 {