fix:type error in stmt & open slow log

This commit is contained in:
wangmm0220 2024-06-28 09:14:01 +08:00
parent ad6eb20524
commit b5a29541a3
2 changed files with 2 additions and 2 deletions

View File

@ -680,7 +680,6 @@ void monitorClose() {
}
int32_t monitorPutData2MonitorQueue(int64_t clusterId, char* value){
return -1; // disable slow log monitor
MonitorSlowLogData* slowLogData = taosAllocateQitem(sizeof(MonitorSlowLogData), DEF_QITEM, 0);
if (slowLogData == NULL) {
uError("[monitor] failed to allocate slow log data");

View File

@ -1380,7 +1380,7 @@ void freeSSmlKv(void *data) {
void smlDestroyInfo(SSmlHandle *info) {
if (!info) return;
qDestroyQuery(info->pQuery);
// qDestroyQuery(info->pQuery);
taosHashCleanup(info->pVgHash);
taosHashCleanup(info->childTables);
@ -1912,6 +1912,7 @@ TAOS_RES *taos_schemaless_insert_inner(TAOS *taos, char *lines[], char *rawLine,
return (TAOS_RES *)request;
}
info->pRequest = request;
info->pRequest->pQuery = info->pQuery;
info->ttl = ttl;
info->precision = precision;
info->protocol = (TSDB_SML_PROTOCOL_TYPE)protocol;