zkfan / tungsten-replicator

Automatically exported from code.google.com/p/tungsten-replicator
0 stars 0 forks source link

tungsten-installer wrongly states that a server uses replication if SHOW SLAVE STATUS returns an empty set #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try installing on a MySQL server freshly installed (e.g. a sandbox)

What is the expected output?

Installation goes through without errors

What do you see instead?
Validation on MySQL native replication fails.

What is the possible cause?

The validator checks the result of SHOW SLAVE STATUS, looking for 
"Slave_SQL_Running=No", but fails to check for an empty set.

What is the proposed solution?

Add a check for empty set before the check for explicit value

Original issue reported on code.google.com by g.maxia on 14 Jun 2011 at 8:28

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r218.

Original comment by g.maxia on 14 Jun 2011 at 8:30