feature/qnode

This commit is contained in:
dapan1121 2022-03-01 11:14:28 +08:00
parent 712137ba18
commit 125091ad05
1 changed files with 1 additions and 3 deletions

View File

@ -122,9 +122,7 @@ int32_t tNameExtractFullName(const SName* name, char* dst) {
return -1; return -1;
} }
int32_t len = 0; int32_t len = snprintf(dst, TSDB_DB_FNAME_LEN, "%d.%s", name->acctId, name->dbname);
snprintf(dst, TSDB_DB_FNAME_LEN, "%d.%s", name->acctId, name->dbname);
size_t tnameLen = strlen(name->tname); size_t tnameLen = strlen(name->tname);
if (tnameLen > 0) { if (tnameLen > 0) {