fix: fix load table info issue

This commit is contained in:
dapan1121 2022-07-12 16:04:18 +08:00
parent cea0a7849a
commit f54a4322c2
1 changed files with 4 additions and 0 deletions

View File

@ -1905,6 +1905,10 @@ int32_t appendTbToReq(SArray* pList, int32_t pos1, int32_t len1, int32_t pos2, i
tbLen = len1;
}
if (dbLen <= 0 || tbLen <= 0) {
return -1;
}
if (tNameSetDbName(&name, acctId, dbName, dbLen)) {
return -1;
}