Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following diff should be applied (patch being applied shortly):
diff --git a/graph_templates.php b/graph_templates.php index 21d8e66..304333c 100644 --- a/graph_templates.php +++ b/graph_templates.php @@ -238,9 +238,6 @@ function form_actions() { db_execute('DELETE FROM snmp_query_graph_rrd_sv WHERE snmp_query_graph_id IN (' . implode(', ', $snmp_graph_ids) . ')'); - db_execute('DELETE FROM snmp_query_graph_rrd_sv - WHERE snmp_query_graph_id IN (' . implode(', ', $snmp_graph_ids) . ')'); - db_execute('DELETE FROM snmp_query_graph_sv WHERE snmp_query_graph_id IN (' . implode(', ', $snmp_graph_ids) . ')');
Whilst the query should be irrelevant, searching the indexes could potentially be time consuming depending on the database.
The text was updated successfully, but these errors were encountered:
Graph Templates has duplicate SQL delete (#3755)
0adc793
Closes #3755
netniV
No branches or pull requests
Describe the bug
The following diff should be applied (patch being applied shortly):
Whilst the query should be irrelevant, searching the indexes could potentially be time consuming depending on the database.
The text was updated successfully, but these errors were encountered: