List:Commits« Previous MessageNext Message »
From:Monty Taylor Date:May 25 2007 6:57pm
Subject:bk commit into 5.1 tree (mtaylor:1.2508)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of mtaylor. When mtaylor 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-25 11:57:04-07:00, mtaylor@qualinost.(none) +1 -0
  Fixed report title for the case where we are using operating on more than one database.

  storage/ndb/tools/ndb_size.pl@stripped, 2007-05-25 11:57:00-07:00, mtaylor@qualinost.(none) +7 -2
    Fixed report title for the case where we are using operating on more than one database.

# 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:	mtaylor
# Host:	qualinost.(none)
# Root:	/home/mtaylor/src/mysql/mysql-5.1-new-maint

--- 1.12/storage/ndb/tools/ndb_size.pl	2007-05-25 11:57:11 -07:00
+++ 1.13/storage/ndb/tools/ndb_size.pl	2007-05-25 11:57:11 -07:00
@@ -459,12 +459,17 @@
 {
     my $dsn; 
     if ($database) { 
+	if ($withdb) { 
+	    $report->database("databases: $withdb");
+	} else { 
+	    $report->database("database: $database");
+	}   
 	$dsn = "DBI:mysql:database=$database;host=$hostname";
     } else { 
 	$dsn = "DBI:mysql:host=$hostname";
+	$report->database("host: $hostname");
     }
     $dbh= DBI->connect($dsn, $user, $password) or exit(1);
-    $report->database($database);
     $report->dsn($dsn);
 }
 else
@@ -1070,7 +1075,7 @@
     my $self= shift;
     my $r= $self->{report};
 
-    print $self->ul("ndb_size.pl report for database ". $r->database().
+    print $self->ul("ndb_size.pl report for ". $r->database().
 		    " (".(($r->tables_count()||0)-($r->supporting_tables_count()||0)).
 		    " tables)");
 
Thread
bk commit into 5.1 tree (mtaylor:1.2508)Monty Taylor25 May