From d89a917ddec8e9542b396fe80e3fbaae66ba8254 Mon Sep 17 00:00:00 2001
From: unknown <serg@serg.mylan>
Date: Mon, 21 Feb 2005 14:04:35 +0100
Subject: [PATCH] workaround for sun compiler on sol9x86

---
 sql/sql_class.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sql/sql_class.h b/sql/sql_class.h
index 34019e73f96..5286990f9c6 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -83,14 +83,14 @@ class TC_LOG_DUMMY: public TC_LOG // use it to disable the logging
 #ifdef HAVE_MMAP
 class TC_LOG_MMAP: public TC_LOG
 {
-  private:
-
+  public:                // only to keep Sun Forte on sol9x86 happy
   typedef enum {
     POOL,                 // page is in pool
     ERROR,                // last sync failed
     DIRTY                 // new xids added since last sync
   } PAGE_STATE;
 
+  private:
   typedef struct st_page {
     struct st_page *next; // page a linked in a fifo queue
     my_xid *start, *end;  // usable area of a page
-- 
2.30.9