fix the issue #233, failed to record slow query
This commit is contained in:
parent
555309d93d
commit
322181c144
|
@ -59,7 +59,7 @@ void tscSaveSlowQueryFp(void *handle, void *tmrId) {
|
||||||
taos = taos_connect(NULL, "monitor", tsInternalPass, NULL, 0);
|
taos = taos_connect(NULL, "monitor", tsInternalPass, NULL, 0);
|
||||||
if (taos == NULL) {
|
if (taos == NULL) {
|
||||||
tscError("failed to save slow query, can't connect to server");
|
tscError("failed to save slow query, can't connect to server");
|
||||||
free(sql);
|
free(sql);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue