fix: fix stmt async issue
This commit is contained in:
parent
56b59105cd
commit
e79fcc07f5
|
@ -1407,7 +1407,11 @@ void* doAsyncFetchRows(SRequestObj* pRequest, bool setupOneRowPtr, bool convertU
|
||||||
}
|
}
|
||||||
|
|
||||||
SSyncQueryParam* pParam = pRequest->body.param;
|
SSyncQueryParam* pParam = pRequest->body.param;
|
||||||
|
if (NULL == pParam) {
|
||||||
|
pParam = taosMemoryCalloc(1, sizeof(SSyncQueryParam));
|
||||||
|
tsem_init(&pParam->sem, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
// convert ucs4 to native multi-bytes string
|
// convert ucs4 to native multi-bytes string
|
||||||
pResultInfo->convertUcs4 = convertUcs4;
|
pResultInfo->convertUcs4 = convertUcs4;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue