mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-21 01:54:34 +00:00
Code cleanup and stubs for supporting ClickHouse (via -F clickhouse)
This commit is contained in:
parent
e10eb3b8be
commit
f4c512d552
14 changed files with 90 additions and 40 deletions
|
|
@ -1204,8 +1204,8 @@ static int handle_lua_request(struct mg_connection *conn) {
|
|||
#ifdef HAVE_MYSQL
|
||||
} else if(!whitelisted /* e.g. login.lua */
|
||||
&& ntop->getPrefs()->do_dump_flows_on_mysql()
|
||||
&& !MySQLDB::isDbCreated()
|
||||
&& strcmp(request_info->uri, PLEASE_WAIT_URL)) {
|
||||
&& !ntop->isDbCreated()
|
||||
&& strcmp(request_info->uri, PLEASE_WAIT_URL)) {
|
||||
redirect_to_please_wait(conn, request_info);
|
||||
return(1);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue