Merge pull request #29184 from taosdata/fix/main/compile

fix enterprise comipile
This commit is contained in:
Hongze Cheng 2024-12-17 18:00:17 +08:00 committed by GitHub
commit 88f1c52a00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;