List:Commits« Previous MessageNext Message »
From:Hakan Kuecuekyilmaz Date:May 26 2007 3:17pm
Subject:bk commit into 6.0-falcon tree (hakank:1.2515) BUG#28686
View as plain text  
Below is the list of changes that have just been committed into a local
6.0-falcon repository of ftp1070244-1. When ftp1070244-1 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-26 17:17:31+02:00, hakank@stripped +1 -0
  Temporary fix for Bug#28686.
  
  storageShare->estimateCardinality() should never return 0 for non empty table.
  We are fixing the symptom here.

  storage/falcon/ha_falcon.cpp@stripped, 2007-05-26 17:17:28+02:00, hakank@stripped +2 -0
    Temporary fix for Bug#28686.
    
    storageShare->estimateCardinality() should never return 0 for non empty table.
    We are fixing the symptom here.

# 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

--- 1.169/storage/falcon/ha_falcon.cpp	2007-05-24 20:56:26 +02:00
+++ 1.170/storage/falcon/ha_falcon.cpp	2007-05-26 17:17:28 +02:00
@@ -553,6 +553,8 @@
 void StorageInterface::getDemographics(void)
 {
 	stats.records = (ha_rows) storageShare->estimateCardinality();
+	// Temporary fix for Bug#28686. (HK) 2007-05-26.
+	if (!stats.records) stats.records++;
 	stats.block_size = 4096;
 
 	for (uint n = 0; n < table->s->keys; ++n)
Thread
bk commit into 6.0-falcon tree (hakank:1.2515) BUG#28686Hakan Kuecuekyilmaz26 May