From: Date: May 4 2007 8:26pm Subject: bk commit into 6.0-falcon tree (hakank:1.2512) BUG#28197 List-Archive: http://lists.mysql.com/commits/26126 X-Bug: 28197 Message-Id: <20070504182623.CE73D20411C@lu0011.wdf.sap.corp> 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-04 20:26:17+02:00, hakank@stripped +3 -0 Try to fix Bug#28197. storage/falcon/MemMgr.cpp@stripped, 2007-05-04 20:26:14+02:00, hakank@stripped +3 -3 Try to fix Bug#28197. storage/falcon/MemMgr.h@stripped, 2007-05-04 20:26:14+02:00, hakank@stripped +2 -2 Try to fix Bug#28197. storage/falcon/ha_falcon.cpp@stripped, 2007-05-04 20:26:14+02:00, hakank@stripped +4 -4 Try to fix Bug#28197. # 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.20/storage/falcon/MemMgr.cpp 2007-05-02 07:46:52 +02:00 +++ 1.21/storage/falcon/MemMgr.cpp 2007-05-04 20:26:14 +02:00 @@ -857,7 +857,7 @@ } } - int freeSpace = 0; + int64 freeSpace = 0; int numberFree = 0; int littleSpace = 0; @@ -991,8 +991,8 @@ } int n = 0; - summaryTable->putInt(n++, currentMemory); - summaryTable->putInt(n++, freeSpace); + summaryTable->putInt64(n++, currentMemory); + summaryTable->putInt64(n++, freeSpace); summaryTable->putInt(n++, numberFree); summaryTable->putInt(n++, numberBigHunks); summaryTable->putInt(n++, numberSmallHunks); --- 1.7/storage/falcon/MemMgr.h 2007-04-23 15:50:35 +02:00 +++ 1.8/storage/falcon/MemMgr.h 2007-05-04 20:26:14 +02:00 @@ -118,8 +118,8 @@ MemFreeBlock freeBlocks; MemFreeBlock junk; Mutex mutex; // Win32 critical regions are faster than SyncObject - int maxMemory; - int currentMemory; + int64 maxMemory; + int64 currentMemory; int blocksAllocated; int blocksActive; --- 1.155/storage/falcon/ha_falcon.cpp 2007-05-02 18:24:10 +02:00 +++ 1.156/storage/falcon/ha_falcon.cpp 2007-05-04 20:26:14 +02:00 @@ -2325,8 +2325,8 @@ ST_FIELD_INFO memorySummaryFieldInfo[]= { - {"TOTAL_SPACE", 4, MYSQL_TYPE_LONG, 0, 0, "Total Space"}, - {"FREE_SPACE", 4, MYSQL_TYPE_LONG, 0, 0, "Free Space"}, + {"TOTAL_SPACE", 4, MYSQL_TYPE_LONGLONG, 0, 0, "Total Space"}, + {"FREE_SPACE", 4, MYSQL_TYPE_LONGLONG, 0, 0, "Free Space"}, {"FREE_SEGMENTS", 4, MYSQL_TYPE_LONG, 0, 0, "Free Segments"}, {"BIG_HUNKS", 4, MYSQL_TYPE_LONG, 0, 0, "Big Hunks"}, {"SMALL_HUNKS", 4, MYSQL_TYPE_LONG, 0, 0, "Small Hunks"}, @@ -2407,8 +2407,8 @@ ST_FIELD_INFO recordSummaryFieldInfo[]= { - {"TOTAL_SPACE", 4, MYSQL_TYPE_LONG, 0, 0, "Total Space"}, - {"FREE_SPACE", 4, MYSQL_TYPE_LONG, 0, 0, "Free Space"}, + {"TOTAL_SPACE", 4, MYSQL_TYPE_LONGLONG, 0, 0, "Total Space"}, + {"FREE_SPACE", 4, MYSQL_TYPE_LONGLONG, 0, 0, "Free Space"}, {"FREE_SEGMENTS", 4, MYSQL_TYPE_LONG, 0, 0, "Free Segments"}, {"BIG_HUNKS", 4, MYSQL_TYPE_LONG, 0, 0, "Big Hunks"}, {"SMALL_HUNKS", 4, MYSQL_TYPE_LONG, 0, 0, "Small Hunks"},