MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:igor Date:April 10 2006 10:59pm
Subject:bk commit into 5.1 tree (igor:1.2314)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of igor. When igor 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.2314 06/04/10 15:59:20 igor@stripped +1 -0
  Merge ibabaev@stripped:/home/bk/mysql-5.1-new
  into  rurik.mysql.com:/home/igor/mysql-5.1

  mysql-test/mysql-test-run.pl
    1.98 06/04/10 15:59:12 igor@stripped +0 -0
    Auto merged

# 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:	igor
# Host:	rurik.mysql.com
# Root:	/home/igor/mysql-5.1/RESYNC

--- 1.97/mysql-test/mysql-test-run.pl	2006-04-10 14:03:33 -07:00
+++ 1.98/mysql-test/mysql-test-run.pl	2006-04-10 15:59:12 -07:00
@@ -3193,11 +3193,6 @@
 
   mtr_init_args(\$args);
 
-  if ( $opt_valgrind_mysqltest )
-  {
-    valgrind_arguments($args, \$exe);
-  }
-
   mtr_add_arg($args, "--no-defaults");
   mtr_add_arg($args, "--silent");
   mtr_add_arg($args, "-v");
@@ -3312,6 +3307,17 @@
   # ----------------------------------------------------------------------
   # Add arguments that should not go into the MYSQL_TEST env var
   # ----------------------------------------------------------------------
+
+  if ( $opt_valgrind_mysqltest )
+  {
+    # Prefix the Valgrind options to the argument list.
+    # We do this here, since we do not want to Valgrind the nested invocations
+    # of mysqltest; that would mess up the stderr output causing test failure.
+    my @args_saved = @$args;
+    mtr_init_args(\$args);
+    valgrind_arguments($args, \$exe);
+    mtr_add_arg($args, "%s", $_) for @args_saved;
+  }
 
   mtr_add_arg($args, "--test-file");
   mtr_add_arg($args, $tinfo->{'path'});
Thread
bk commit into 5.1 tree (igor:1.2314)igor11 Apr