fix(query): fix error in ut.
This commit is contained in:
parent
99ea0abffa
commit
f9d1726c89
|
@ -213,7 +213,7 @@ void taosHashSetEqualFp(SHashObj *pHashObj, _equal_fn_t fp);
|
|||
*/
|
||||
void taosHashSetFreeFp(SHashObj *pHashObj, _hash_free_fn_t fp);
|
||||
|
||||
//int64_t taosHashGetCompTimes(SHashObj *pHashObj);
|
||||
int64_t taosHashGetCompTimes(SHashObj *pHashObj);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
#include "sut.h"
|
||||
#include "tdatablock.h"
|
||||
#include "tmisce.h"
|
||||
|
||||
static void processClientRsp(void* parent, SRpcMsg* pRsp, SEpSet* pEpSet) {
|
||||
TestClient* client = (TestClient*)parent;
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
#include <map>
|
||||
#include <set>
|
||||
|
||||
#include "tdatablock.h"
|
||||
#include "tname.h"
|
||||
#include "ttypes.h"
|
||||
#include "tmisce.h"
|
||||
|
||||
std::unique_ptr<MockCatalogService> g_mockCatalogService;
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "tglobal.h"
|
||||
#include "trpc.h"
|
||||
#include "tvariant.h"
|
||||
#include "tmisce.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
#include "tlog.h"
|
||||
#include "transLog.h"
|
||||
#include "trpc.h"
|
||||
#include "tmisce.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
const char *label = "APP";
|
||||
|
|
|
@ -889,4 +889,4 @@ void *taosHashAcquire(SHashObj *pHashObj, const void *key, size_t keyLen) {
|
|||
|
||||
void taosHashRelease(SHashObj *pHashObj, void *p) { taosHashCancelIterate(pHashObj, p); }
|
||||
|
||||
//int64_t taosHashGetCompTimes(SHashObj *pHashObj) { return atomic_load_64(&pHashObj->compTimes); }
|
||||
int64_t taosHashGetCompTimes(SHashObj *pHashObj) { return 0 /*atomic_load_64(&pHashObj->compTimes)*/; }
|
||||
|
|
Loading…
Reference in New Issue