fix:type error in stmt & open slow log
This commit is contained in:
parent
ad6eb20524
commit
b5a29541a3
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue