Below is the list of changes that have just been committed into a local
5.0 repository of kent. When kent 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.1981 05/09/19 15:31:09 kent@stripped +2 -0
Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
ndb/src/ndbapi/Ndbinit.cpp
1.32 05/09/19 15:31:06 kent@stripped +0 -0
Auto merged
mysql-test/mysql-test-run.pl
1.44 05/09/19 15:31:06 kent@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: kent
# Host: c-724072d5.010-2112-6f72651.cust.bredbandsbolaget.se
# Root: /Users/kent/mysql/bk/mysql-5.0/RESYNC
--- 1.43/mysql-test/mysql-test-run.pl 2005-09-19 12:31:19 +02:00
+++ 1.44/mysql-test/mysql-test-run.pl 2005-09-19 15:31:06 +02:00
@@ -262,6 +262,7 @@
our $opt_user_test;
our $opt_valgrind;
+our $opt_valgrind_mysqltest;
our $opt_valgrind_all;
our $opt_valgrind_options;
@@ -524,6 +525,7 @@
'gcov' => \$opt_gcov,
'gprof' => \$opt_gprof,
'valgrind:s' => \$opt_valgrind,
+ 'valgrind-mysqltest:s' => \$opt_valgrind_mysqltest,
'valgrind-all:s' => \$opt_valgrind_all,
'valgrind-options=s' => \$opt_valgrind_options,
@@ -708,9 +710,15 @@
# "" option set with no argument
# "somestring" option is name/path of valgrind executable
- if ( defined $opt_valgrind_all and ! $opt_valgrind )
+ # Take executable path from any of them, if any
+ $opt_valgrind= $opt_valgrind_mysqltest if $opt_valgrind_mysqltest;
+ $opt_valgrind= $opt_valgrind_all if $opt_valgrind_all;
+
+ # If valgrind flag not defined, define if other valgrind flags are
+ unless ( defined $opt_valgrind )
{
- $opt_valgrind= $opt_valgrind_all;
+ $opt_valgrind= ""
+ if defined $opt_valgrind_mysqltest or defined $opt_valgrind_all;
}
if ( ! $opt_testcase_timeout )
@@ -2392,7 +2400,7 @@
mtr_init_args(\$args);
- if ( defined $opt_valgrind )
+ if ( defined $opt_valgrind_mysqltest )
{
valgrind_arguments($args, \$exe);
}
@@ -2501,6 +2509,8 @@
mtr_add_arg($args, "--alignment=8");
mtr_add_arg($args, "--leak-check=yes");
mtr_add_arg($args, "--num-callers=16");
+ mtr_add_arg($args, "--suppressions=%s/valgrind.supp", $glob_mysql_test_dir)
+ if -f "$glob_mysql_test_dir/valgrind.supp";
if ( defined $opt_valgrind_all )
{
@@ -2584,10 +2594,11 @@
gcov FIXME
gprof FIXME
- valgrind[=exe] Run the "mysqltest" executable as well as the "mysqld"
+ valgrind[=EXE] Run the "mysqltest" executable as well as the "mysqld"
server using valgrind, optionally specifying the
executable path/name
- valgrind-all FIXME
+ valgrind-mysqltest[=EXE] In addition, run the "mysqltest" executable with valgrind
+ valgrind-all[=EXE] Adds verbose flag, and --show-reachable to valgrind
valgrind-options=ARGS Extra options to give valgrind
Misc options
--- 1.31/ndb/src/ndbapi/Ndbinit.cpp 2005-06-09 15:40:25 +02:00
+++ 1.32/ndb/src/ndbapi/Ndbinit.cpp 2005-09-19 15:31:06 +02:00
@@ -229,7 +229,8 @@
: m_ndb_cluster_connection(ndb_cluster_connection->m_impl),
m_dictionary(ndb),
theCurrentConnectIndex(0),
- theNdbObjectIdMap(1024,1024),
+ theNdbObjectIdMap(ndb_cluster_connection->m_impl.m_transporter_facade->theMutexPtr,
+ 1024,1024),
theNoOfDBnodes(0)
{
int i;
| Thread |
|---|
| • bk commit into 5.0 tree (kent:1.1981) | kent | 19 Sep |