fix enterprise comipile

This commit is contained in:
pengrongkun94@qq.com 2024-12-17 14:12:50 +08:00
parent a3376e00d3
commit 28136db3f1
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ static int32_t stmtCreateRequest(STscStmt2* pStmt) {
}
if (pStmt->db != NULL) {
taosMemoryFreeClear(pStmt->exec.pRequest->pDb);
pStmt->exec.pRequest->pDb = strdup(pStmt->db);
pStmt->exec.pRequest->pDb = taosStrdup(pStmt->db);
}
if (TSDB_CODE_SUCCESS == code) {
pStmt->exec.pRequest->syncQuery = true;