List:Commits« Previous MessageNext Message »
From:Hakan Kuecuekyilmaz Date:May 30 2007 9:38pm
Subject:bk commit into 6.0-falcon tree (hakank:1.2522)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0-falcon repository of hakan. When hakan 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-30 21:38:37+02:00, hakank@stripped +1 -0
  Merge lu0011.wdf.sap.corp:/home/hakan/work/mysql/mysql-5.1-falcon-local-master
  into  lu0011.wdf.sap.corp:/home/hakan/work/mysql/mysql-5.1-falcon
  MERGE: 1.2520.1.1

  storage/falcon/ha_falcon.cpp@stripped, 2007-05-30 21:38:34+02:00,
hakank@stripped +0 -0
    Auto merged
    MERGE: 1.173.1.1

# 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:	hakank
# Host:	lu0011.wdf.sap.corp
# Root:	/home/hakan/work/mysql/mysql-5.1-falcon/RESYNC

--- 1.174/storage/falcon/ha_falcon.cpp	2007-05-30 20:59:57 +02:00
+++ 1.175/storage/falcon/ha_falcon.cpp	2007-05-30 21:38:34 +02:00
@@ -552,9 +552,12 @@
 
 void StorageInterface::getDemographics(void)
 {
+	DBUG_ENTER("StorageInterface::getDemographics");
+
 	stats.records = (ha_rows) storageShare->estimateCardinality();
 	// Temporary fix for Bug#28686. (HK) 2007-05-26.
 	if (!stats.records) stats.records++;
+	DBUG_PRINT("stats.records", ("%ld", stats.records));
 	stats.block_size = 4096;
 
 	for (uint n = 0; n < table->s->keys; ++n)
@@ -570,9 +573,12 @@
 				{
 				ha_rows recordsPerSegment = (ha_rows) desc->segmentRecordCounts[segment];
 				key->rec_per_key[segment] = MAX(recordsPerSegment, n);
+				DBUG_PRINT("key->rec_per_key", ("%d: %ld", segment,
key->rec_per_key[segment]));
 				}
 			}
-		}		
+		}
+
+	DBUG_VOID_RETURN;
 }
 
 int StorageInterface::optimize(THD* thd, HA_CHECK_OPT* check_opt)
Thread
bk commit into 6.0-falcon tree (hakank:1.2522)Hakan Kuecuekyilmaz30 May