提交 8fb2c5a2 编写于 作者: H Hongze Cheng

refactor more code

上级 d2b5bf71
...@@ -513,7 +513,7 @@ int tsdbLoadBlockDataInfo(SReadHandle* pReadH, SBlock* pBlock); ...@@ -513,7 +513,7 @@ int tsdbLoadBlockDataInfo(SReadHandle* pReadH, SBlock* pBlock);
static FORCE_INLINE int tsdbAllocBuf(void **ppBuf, uint32_t size) { static FORCE_INLINE int tsdbAllocBuf(void **ppBuf, uint32_t size) {
ASSERT(size > 0); ASSERT(size > 0);
void *pBuf = *pBuf; void *pBuf = *ppBuf;
uint32_t tsize = taosTSizeof(pBuf); uint32_t tsize = taosTSizeof(pBuf);
if (tsize >= size) return 0; if (tsize >= size) return 0;
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册