mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 03:09:21 +02:00
Fixed issue in logstream source check function of report base class
This commit is contained in:
parent
3c22e4386e
commit
cf198caf5a
@ -695,10 +695,14 @@ abstract class Report {
|
|||||||
if ($res != SUCCESS )
|
if ($res != SUCCESS )
|
||||||
return $res;
|
return $res;
|
||||||
|
|
||||||
// Will check if certain INDEXES do exists for database logstream!
|
// Will check if TRIGGERS are installed! Requires SUPER access in database logstream!
|
||||||
$res = $this->_streamObj->VerifyIndexes( $arrProperties );
|
if ( $arrProperties != null )
|
||||||
if ($res != SUCCESS )
|
{
|
||||||
return $res;
|
// Will check if certain INDEXES do exists for database logstream!
|
||||||
|
$res = $this->_streamObj->VerifyIndexes( $arrProperties );
|
||||||
|
if ($res != SUCCESS )
|
||||||
|
return $res;
|
||||||
|
}
|
||||||
|
|
||||||
// Will check if checksum field is correctly configured for database logstream!
|
// Will check if checksum field is correctly configured for database logstream!
|
||||||
$res = $this->_streamObj->VerifyChecksumField( );
|
$res = $this->_streamObj->VerifyChecksumField( );
|
||||||
@ -706,9 +710,12 @@ abstract class Report {
|
|||||||
return $res;
|
return $res;
|
||||||
|
|
||||||
// Will check if TRIGGERS are installed! Requires SUPER access in database logstream!
|
// Will check if TRIGGERS are installed! Requires SUPER access in database logstream!
|
||||||
$res = $this->_streamObj->VerifyChecksumTrigger( $myTriggerProperty );
|
if ( $myTriggerProperty != null )
|
||||||
if ($res != SUCCESS )
|
{
|
||||||
return $res;
|
$res = $this->_streamObj->VerifyChecksumTrigger( $myTriggerProperty );
|
||||||
|
if ($res != SUCCESS )
|
||||||
|
return $res;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// return results!
|
// return results!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user