List:Commits« Previous MessageNext Message »
From:monty Date:May 29 2007 6:07pm
Subject:bk commit into 5.1 tree (monty:1.2519)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of monty. When monty 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@stripped, 2007-05-29 21:07:48+03:00, monty@stripped +3 -0
  Added casts to remove compiler warnings on windows
  Give warnings also for safe_mutex errors found by test system
  Added some warnings from different machines in pushbuild

  mysql-test/lib/mtr_report.pl@stripped, 2007-05-29 21:07:46+03:00, monty@stripped +15 -8
    Give warnings also for safe_mutex errors
    Added some warnings from different machines in pushbuild

  mysys/my_compress.c@stripped, 2007-05-29 21:07:46+03:00, monty@stripped +2 -2
    Added casts to remove compiler warnings on windows

  sql/sql_class.cc@stripped, 2007-05-29 21:07:46+03:00, monty@stripped +1 -1
    Added cast to remove compiler warnings on windows

# 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:	monty
# Host:	narttu.mysql.fi
# Root:	/home/my/mysql-5.1

--- 1.16/mysys/my_compress.c	2007-05-10 12:59:25 +03:00
+++ 1.17/mysys/my_compress.c	2007-05-29 21:07:46 +03:00
@@ -68,7 +68,7 @@ uchar *my_compress_alloc(const uchar *pa
     return 0;					/* Not enough memory */
 
   tmp_complen= *complen;
-  res= compress((Bytef*) compbuf, &tmp_complen, (Bytef*) packet, *len);
+  res= compress((Bytef*) compbuf, &tmp_complen, (Bytef*) packet, (uLong) *len);
   *complen=    tmp_complen;
 
   if (res != Z_OK)
@@ -120,7 +120,7 @@ my_bool my_uncompress(uchar *packet, siz
 
     tmp_complen= *complen;
     error= uncompress((Bytef*) compbuf, &tmp_complen, (Bytef*) packet,
-                      len);
+                      (uLong) len);
     *complen= tmp_complen;
     if (error != Z_OK)
     {						/* Probably wrong packet */

--- 1.335/sql/sql_class.cc	2007-05-24 01:39:22 +03:00
+++ 1.336/sql/sql_class.cc	2007-05-29 21:07:46 +03:00
@@ -927,7 +927,7 @@ void THD::add_changed_table(TABLE *table
   DBUG_ASSERT((options & (OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN)) &&
 	      table->file->has_transactions());
   add_changed_table(table->s->table_cache_key.str,
-                    table->s->table_cache_key.length);
+                    (long) table->s->table_cache_key.length);
   DBUG_VOID_RETURN;
 }
 

--- 1.48/mysql-test/lib/mtr_report.pl	2007-05-29 16:47:09 +03:00
+++ 1.49/mysql-test/lib/mtr_report.pl	2007-05-29 21:07:46 +03:00
@@ -270,6 +270,7 @@ sub mtr_report_stats ($) {
 			    "\\[ERROR\\]",
 			    "^Error:", "^==.* at 0x",
 			    "InnoDB: Warning",
+			    "^safe_mutex:",
 			    "missing DBUG_RETURN",
 			    "mysqld: Warning",
 			    "allocated at line",
@@ -286,6 +287,7 @@ sub mtr_report_stats ($) {
           {
             # Skip some non fatal warnings from the log files
             if (
+		/"SELECT UNIX_TIMESTAMP()" failed on master/ or
 		/Aborted connection/ or
 		/Client requested master to start replication from impossible position/ or
 		/Could not find first log file name in binary log/ or
@@ -293,8 +295,8 @@ sub mtr_report_stats ($) {
 		/Error reading master configuration/ or
 		/Error reading packet/ or
 		/Event Scheduler/ or
-		/Failed to open the existing master info file/ or
 		/Failed to open log/ or
+		/Failed to open the existing master info file/ or
 		/Forcing shutdown of [0-9]* plugins/ or
 		/Got error [0-9]* when reading table/ or
 		/Incorrect definition of table/ or
@@ -304,25 +306,30 @@ sub mtr_report_stats ($) {
 		/Lock wait timeout exceeded/ or
 		/Log entry on master is longer than max_allowed_packet/ or
 		/NDB Binlog:/ or
+		/NDB: failed to setup table/ or
+		/NDB: only row based binary logging/ or
 		/Neither --relay-log nor --relay-log-index were used/ or
 		/Query partially completed/ or
 		/Slave I.O thread aborted while waiting for relay log/ or
 		/Slave SQL thread is stopped because UNTIL condition/ or
+		/Slave SQL thread retried transaction/ or
 		/Slave \(additional info\)/ or
+		/Slave: .*Duplicate column name/ or
+		/Slave: .*master may suffer from/ or
 		/Slave: According to the master's version/ or
+		/Slave: Column [0-9]* type mismatch/ or
+		/Slave: Error .* doesn't exist/ or
 		/Slave: Error .*Deadlock found/ or
 		/Slave: Error .*Unknown table/ or
+		/Slave: Error in Write_rows event: / or
+		/Slave: Field .* of table .* has no default value/ or
 		/Slave: Query caused different errors on master and slave/ or
+		/Slave: Table .* doesn't exist/ or
+		/Slave: Table width mismatch/ or
 		/Slave: The incident LOST_EVENTS occured on the master/ or
 		/Slave: Unknown error.* 1105/ or
-		/Slave: .*master may suffer from/ or
-		/Slave: Error in Write_rows event: / or
-		/Slave: Table width mismatch/ or
-		/Slave: Error .* doesn't exist/ or
-		/Slave: Column [0-9]* type mismatch/ or
-		/Slave: Table .* doesn't exist/ or
-		/Slave: Field .* of table .* has no default value/ or
 		/Sort aborted/ or
+		/Time-out in NDB/ or
 		/Warning:\s+One can only use the --user.*root/ or
 		/Warning:\s+Setting lower_case_table_names=2/ or
 		/Warning:\s+Table:.* on (delete|rename)/ or
Thread
bk commit into 5.1 tree (monty:1.2519)monty29 May