From 6428035695fce2571df4275aca64cc90aa76d344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Mon, 17 Aug 2020 16:07:01 +0200 Subject: [PATCH] Fixed a compiling issue --- deps/libmicrohttpd/libmicrohttpd | 1 - lib/MySQL_Monitor.cpp | 1 - 2 files changed, 2 deletions(-) delete mode 120000 deps/libmicrohttpd/libmicrohttpd diff --git a/deps/libmicrohttpd/libmicrohttpd b/deps/libmicrohttpd/libmicrohttpd deleted file mode 120000 index f4be94a80..000000000 --- a/deps/libmicrohttpd/libmicrohttpd +++ /dev/null @@ -1 +0,0 @@ -libmicrohttpd-0.9.68 \ No newline at end of file diff --git a/lib/MySQL_Monitor.cpp b/lib/MySQL_Monitor.cpp index f5859b33e..a221a5a59 100644 --- a/lib/MySQL_Monitor.cpp +++ b/lib/MySQL_Monitor.cpp @@ -2120,7 +2120,6 @@ void * monitor_replication_lag_thread(void *arg) { if (mmsd->interr) { // replication lag check failed mmsd->mysql_error_msg=strdup(mysql_error(mmsd->mysql)); MyHGM->p_update_mysql_error_counter(p_mysql_error_type::proxysql, mmsd->hostgroup_id, mmsd->hostname, mmsd->port, mysql_errno(mmsd->mysql)); - unsigned long long now=monotonic_time(); #ifdef DEBUG unsigned long long now=monotonic_time(); proxy_error("Error after %dms: mmsd %p , MYSQL %p , FD %d : %s\n", (now-mmsd->t1)/1000, mmsd, mmsd->mysql, mmsd->mysql->net.fd, mmsd->mysql_error_msg);