Skip to content

Commit

Permalink
[#noissue]
Browse files Browse the repository at this point in the history
type : fix
[Server version : 39, Repository Version : 30, Extension Version : 1]
Changes
Fixes
- fix ha alert delay count error(C)
  • Loading branch information
kayform committed Oct 1, 2019
1 parent b4e5651 commit b7423cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build-all.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ SET "PATH=%PATH%;%PROGRAMFILES%\Git\bin;C:\apache-ant-1.9.9-bin;C:\Program Files

For /F %%g in ('git rev-parse HEAD ^| cut -b 1-7') Do (Set GIT_COMMIT_HASH=%%g)

set BASE_VER=11.5.0
set BASE_VER_UDERSCORE=11_5_0
set BASE_VER=11.5.1
set BASE_VER_UDERSCORE=11_5_1
For /F %%i in ('git rev-list HEAD ^| find /c /v ""') Do Set GIT_COMMIT_CNT=%%i


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,23 +238,23 @@
cbxHAStatus.Checked = Check
If retentionTime > 0 Then
Dim alertCondition As Integer = retentionTime / _hchkPeriod
cmbHAStatus.SelectedIndex = IIf(alertCondition > 0 AndAlso alertCondition < 4, alertCondition, 1)
cmbHAStatus.SelectedIndex = IIf(alertCondition > 0 AndAlso alertCondition < 4, alertCondition, 0)
Else
cmbHAStatus.SelectedIndex = 0
End If
Case "REPLICATION_SLOT"
cbxReplSlot.Checked = Check
If retentionTime > 0 Then
Dim alertCondition As Integer = retentionTime / _hchkPeriod
cmbReplSlot.SelectedIndex = IIf(alertCondition > 0 AndAlso alertCondition < 4, alertCondition, 1)
cmbReplSlot.SelectedIndex = IIf(alertCondition > 0 AndAlso alertCondition < 4, alertCondition, 0)
Else
cmbReplSlot.SelectedIndex = 0
End If
Case "VIRTUAL_IP"
cbxVirtualIP.Checked = Check
If retentionTime > 0 Then
Dim alertCondition As Integer = retentionTime / _hchkPeriod
cmbVIP.SelectedIndex = IIf(alertCondition > 0 AndAlso alertCondition < 4, alertCondition, 1)
cmbVIP.SelectedIndex = IIf(alertCondition > 0 AndAlso alertCondition < 4, alertCondition, 0)
Else
cmbVIP.SelectedIndex = 0
End If
Expand Down

0 comments on commit b7423cb

Please sign in to comment.