/[rserv]/bin/Replicate
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /bin/Replicate

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by dpavlin, Thu Oct 30 22:51:45 2003 UTC revision 1.14 by dpavlin, Fri Oct 31 00:06:11 2003 UTC
# Line 137  if ($slaveId < 0) { Line 137  if ($slaveId < 0) {
137  SyncSync($mconn, $sconn);  SyncSync($mconn, $sconn);
138    
139  my $masterId = 0;  my $masterId = 0;
140  if ($multiplemaster) {  if ($multiplemaster || $slaveId == 0) {
141          my $masterId = GetServerId($mconn, $master, $masterhost);          $masterId = GetServerId($sconn, $master, $masterhost);
142    
143          die "\n>>>>>>>>>>>>> ERROR: Can't GetServerId for $sinfo\n" if (! defined($masterId));          die "\n>>>>>>>>>>>>> ERROR: Can't GetServerId for $sinfo\n" if (! defined($masterId));
144    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.26