List:Internals« Previous MessageNext Message »
From:Heikki Tuuri Date:April 27 2005 12:19am
Subject:bk commit into 5.0 tree (heikki:1.1895)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of heikki. When heikki does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1895 05/04/27 03:18:54 heikki@stripped +1 -0
  sql_repl.cc:
    Remove printf's from semi-sync code in sql_repl.cc

  sql/sql_repl.cc
    1.135 05/04/27 03:18:25 heikki@stripped +0 -13
    Remove printf's from semi-sync code in sql_repl.cc

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	heikki
# Host:	hundin.mysql.fi
# Root:	/home/heikki/mysql-5.0

--- 1.134/sql/sql_repl.cc	Wed Apr 20 19:25:25 2005
+++ 1.135/sql/sql_repl.cc	Wed Apr 27 03:18:25 2005
@@ -385,8 +385,6 @@
     goto err;
   }
 
-  printf("Binlog file name %s\n", log_file_name);
-
   if (thd->variables.sync_replication)
     ha_repl_report_sent_binlog(thd, log_file_name, pos);
 
@@ -537,9 +535,6 @@
 	goto err;
       }
 
-      printf("Dump loop: %s: Current log position %lu\n", log_file_name,
-                  (ulong)my_b_tell(&log));
-
       if (thd->variables.sync_replication)
         ha_repl_report_sent_binlog(thd, log_file_name, my_b_tell(&log));
 
@@ -656,9 +651,6 @@
 	    goto err;
 	  }
 
-          printf("Second loop: %s: Current log position %lu\n", log_file_name,
-                  (ulong)my_b_tell(&log));
-
           if (thd->variables.sync_replication)
             ha_repl_report_sent_binlog(thd, log_file_name, my_b_tell(&log));
 
@@ -730,15 +722,12 @@
       if (thd->variables.sync_replication)
         ha_repl_report_sent_binlog(thd, log_file_name, 0);
 
-      printf("Binlog file name of a new binlog %s\n", log_file_name);
-
       packet->length(0);
       packet->append('\0');
     }
   }
 
 end:
-  printf("Ending replication\n");
   if (thd->variables.sync_replication)
     ha_repl_report_replication_stop(thd);
 
@@ -755,8 +744,6 @@
 err:
   if (thd->variables.sync_replication)
     ha_repl_report_replication_stop(thd);
-
-  printf("Ending replication in error %s\n", errmsg);
 
   thd->proc_info = "Waiting to finalize termination";
   end_io_cache(&log);
Thread
bk commit into 5.0 tree (heikki:1.1895)Heikki Tuuri27 Apr