remove some logs
This commit is contained in:
parent
6a043a2bf4
commit
ac3c9ac6e7
|
@ -332,7 +332,7 @@ void sdbIncRef(void *handle, void *pRow) {
|
|||
SSdbTable *pTable = handle;
|
||||
int32_t * pRefCount = (int32_t *)(pRow + pTable->refCountPos);
|
||||
atomic_add_fetch_32(pRefCount, 1);
|
||||
if (0 && strcmp(pTable->tableName, "accounts") == 0) {
|
||||
if (0 && pTable->tableId == SDB_TABLE_CTABLE) {
|
||||
sdbTrace("table:%s, add ref to record:%s:%s:%d", pTable->tableName, pTable->tableName, sdbGetkeyStr(pTable, pRow),
|
||||
*pRefCount);
|
||||
}
|
||||
|
@ -344,7 +344,7 @@ void sdbDecRef(void *handle, void *pRow) {
|
|||
SSdbTable *pTable = handle;
|
||||
int32_t * pRefCount = (int32_t *)(pRow + pTable->refCountPos);
|
||||
int32_t refCount = atomic_sub_fetch_32(pRefCount, 1);
|
||||
if (0 && strcmp(pTable->tableName, "accounts") == 0) {
|
||||
if (0 && pTable->tableId == SDB_TABLE_CTABLE) {
|
||||
sdbTrace("table:%s, def ref of record:%s:%s:%d", pTable->tableName, pTable->tableName, sdbGetkeyStr(pTable, pRow),
|
||||
*pRefCount);
|
||||
}
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
#include "mgmtVgroup.h"
|
||||
#include "tcompare.h"
|
||||
|
||||
void * tsChildTableSdb;
|
||||
void * tsSuperTableSdb;
|
||||
static void * tsChildTableSdb;
|
||||
static void * tsSuperTableSdb;
|
||||
static int32_t tsChildTableUpdateSize;
|
||||
static int32_t tsSuperTableUpdateSize;
|
||||
static void * mgmtGetChildTable(char *tableId);
|
||||
|
@ -361,7 +361,7 @@ static void mgmtCleanUpChildTables() {
|
|||
|
||||
static void mgmtAddTableIntoStable(SSuperTableObj *pStable, SChildTableObj *pCtable) {
|
||||
if (pStable->vgLen == 0) {
|
||||
pStable->vgLen = 10;
|
||||
pStable->vgLen = 8;
|
||||
pStable->vgList = calloc(pStable->vgLen, sizeof(int32_t));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue