mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-20 17:29:13 +00:00
Fixes for dumping alerts into ClickHouse
This commit is contained in:
parent
6bfde9c3a3
commit
13407f6761
22 changed files with 276 additions and 167 deletions
|
|
@ -497,7 +497,7 @@ MySQLDB::MySQLDB(NetworkInterface *_iface, bool _clickhouse_mode) : DB(_iface) {
|
|||
db_created = false;
|
||||
mysql_alt_connected = false;
|
||||
|
||||
connectToDB(&mysql, false);
|
||||
connectToDB(&mysql, clickhouse_mode ? true : false);
|
||||
|
||||
if(!clickhouse_mode)
|
||||
mysql_alt_connected = connectToDB(&mysql_alt, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue