mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
workaround for sun compiler on sol9x86
This commit is contained in:
@@ -83,14 +83,14 @@ class TC_LOG_DUMMY: public TC_LOG // use it to disable the logging
|
|||||||
#ifdef HAVE_MMAP
|
#ifdef HAVE_MMAP
|
||||||
class TC_LOG_MMAP: public TC_LOG
|
class TC_LOG_MMAP: public TC_LOG
|
||||||
{
|
{
|
||||||
private:
|
public: // only to keep Sun Forte on sol9x86 happy
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
POOL, // page is in pool
|
POOL, // page is in pool
|
||||||
ERROR, // last sync failed
|
ERROR, // last sync failed
|
||||||
DIRTY // new xids added since last sync
|
DIRTY // new xids added since last sync
|
||||||
} PAGE_STATE;
|
} PAGE_STATE;
|
||||||
|
|
||||||
|
private:
|
||||||
typedef struct st_page {
|
typedef struct st_page {
|
||||||
struct st_page *next; // page a linked in a fifo queue
|
struct st_page *next; // page a linked in a fifo queue
|
||||||
my_xid *start, *end; // usable area of a page
|
my_xid *start, *end; // usable area of a page
|
||||||
|
Reference in New Issue
Block a user