summaryrefslogtreecommitdiff
path: root/storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2006-01-12 15:40:38 +0100
committerunknown <knielsen@mysql.com>2006-01-12 15:40:38 +0100
commitf8d126a059eae596dcc87d63ed34e36f2aeb42d2 (patch)
treecb67706043a0ab33e3b6d493367a65e88a8e6523 /storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
parent712442f76d3d345e993b3b13b064beb1f8137705 (diff)
downloadmariadb-git-f8d126a059eae596dcc87d63ed34e36f2aeb42d2.tar.gz
Sun compiler fixes.
storage/ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp: Fix Sun compiler bug: does not recognize that foo(t *) and foo(t * const) are the same function. storage/ndb/src/kernel/blocks/dbtup/DbtupFixAlloc.cpp: Fix Sun compiler bug: does not recognize that foo(t *) and foo(t * const) are the same function. storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp: Fix Sun compiler bug: does not recognize that foo(t *) and foo(t * const) are the same function. storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp: Fix Sun compiler bug: does not recognize that foo(t *) and foo(t * const) are the same function. storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp: Fix Sun compiler bug: does not recognize that foo(t *) and foo(t * const) are the same function. storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp: Add missing return value, otherwise Sun compiler complains.
Diffstat (limited to 'storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp')
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
index c8c9440e456..db6f5e3b185 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
@@ -89,7 +89,7 @@
//
// The full page range struct
-Uint32 Dbtup::getEmptyPage(Fragrecord* const regFragPtr)
+Uint32 Dbtup::getEmptyPage(Fragrecord* regFragPtr)
{
Uint32 pageId = regFragPtr->emptyPrimPage.firstItem;
if (pageId == RNIL) {
@@ -108,7 +108,7 @@ Uint32 Dbtup::getEmptyPage(Fragrecord* const regFragPtr)
return pageId;
}//Dbtup::getEmptyPage()
-Uint32 Dbtup::getRealpid(Fragrecord* const regFragPtr, Uint32 logicalPageId)
+Uint32 Dbtup::getRealpid(Fragrecord* regFragPtr, Uint32 logicalPageId)
{
PageRangePtr grpPageRangePtr;
Uint32 loopLimit;
@@ -241,7 +241,7 @@ bool Dbtup::insertPageRangeTab(Fragrecord* const regFragPtr,
}//Dbtup::insertPageRangeTab()
-void Dbtup::releaseFragPages(Fragrecord* const regFragPtr)
+void Dbtup::releaseFragPages(Fragrecord* regFragPtr)
{
if (regFragPtr->rootPageRange == RNIL) {
ljam();
@@ -349,7 +349,7 @@ void Dbtup::initFragRange(Fragrecord* const regFragPtr)
regFragPtr->nextStartRange = 0;
}//initFragRange()
-Uint32 Dbtup::allocFragPages(Fragrecord* const regFragPtr, Uint32 tafpNoAllocRequested)
+Uint32 Dbtup::allocFragPages(Fragrecord* regFragPtr, Uint32 tafpNoAllocRequested)
{
Uint32 tafpPagesAllocated = 0;
while (true) {