Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
centreon
centreon-collect
Commits
92031f4e
Commit
92031f4e
authored
Apr 25, 2022
by
David Boucher
Browse files
fix(broker/unified_sql): DB deadlocks fixed.
parent
1be5cd36
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
bbdo/bam/ba_event.cc
View file @
92031f4e
...
...
@@ -65,7 +65,8 @@ ba_event& ba_event::operator=(ba_event const& other) {
* @return True if the two objects are equal.
*/
bool
ba_event
::
operator
==
(
ba_event
const
&
other
)
const
{
return
ba_id
==
other
.
ba_id
&&
abs
(
first_level
-
other
.
first_level
)
<
eps
&&
return
ba_id
==
other
.
ba_id
&&
std
::
abs
(
first_level
-
other
.
first_level
)
<
eps
&&
end_time
==
other
.
end_time
&&
in_downtime
==
other
.
in_downtime
&&
start_time
==
other
.
start_time
&&
status
==
other
.
status
;
}
...
...
broker/unified_sql/inc/com/centreon/broker/unified_sql/stream.hh
View file @
92031f4e
...
...
@@ -284,6 +284,7 @@ class stream : public io::stream {
database
::
mysql_stmt
_resources_host_update
;
database
::
mysql_stmt
_resources_service_insert
;
database
::
mysql_stmt
_resources_service_update
;
database
::
mysql_stmt
_resources_disable
;
database
::
mysql_stmt
_hscr_resources_update
;
database
::
mysql_stmt
_sscr_resources_update
;
...
...
broker/unified_sql/src/stream_sql.cc
View file @
92031f4e
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment