diff options
author | glynastill | 2015-04-16 16:24:10 +0000 |
---|---|---|
committer | glyn | 2016-06-01 15:17:02 +0000 |
commit | 172c6c539896799ce597ea75250264d7f271b00f (patch) | |
tree | 9959fcf8a340ca88a64af505aba3408dccd0817e /check_postgres.pl.html | |
parent | b1d09afd1d89987b7aa6bab51bde4b264488527b (diff) |
Fix "values are not the same" error in replicate_row when repinfo value is a '0'
When check_replicate_row tested for valid values before starting the check, if the actual value returned was 0 it would evaluate to false, resulting in the error:
"Cannot test replication: values are not the same"
This is resolved by simply checking if the value is defined before assigning it's value a blank string instead.
Diffstat (limited to 'check_postgres.pl.html')
0 files changed, 0 insertions, 0 deletions