mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-10 09:19:04 +00:00
Use execSQLWrite for all write operations
This commit is contained in:
parent
bbe7746838
commit
530e84e907
3 changed files with 8 additions and 8 deletions
|
|
@ -120,7 +120,7 @@ local function delete_host_db_flows(interface_id, host_info)
|
|||
q = string.format("ALTER TABLE `flows` DELETE WHERE %s", where_clause)
|
||||
|
||||
if not dry_run and q then
|
||||
interface.execSQLQuery(q)
|
||||
interface.execSQLWrite(q)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue