mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ha_partition.cc, listener.h, listener.cc, ha_partition.h:
Initiate static const outside class definition
This commit is contained in:

parent
76c99a074c
commit
cf2b6a9747
@ -56,6 +56,7 @@ static void set_no_inherit(int socket)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const int Listener::LISTEN_BACK_LOG_SIZE= 5; /* standard backlog size */
|
||||||
|
|
||||||
Listener::Listener(Thread_registry *thread_registry_arg,
|
Listener::Listener(Thread_registry *thread_registry_arg,
|
||||||
User_map *user_map_arg)
|
User_map *user_map_arg)
|
||||||
|
@ -39,7 +39,7 @@ protected:
|
|||||||
virtual void run();
|
virtual void run();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const int LISTEN_BACK_LOG_SIZE= 5; /* standard backlog size */
|
static const int LISTEN_BACK_LOG_SIZE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Thread_info thread_info;
|
Thread_info thread_info;
|
||||||
|
@ -145,6 +145,8 @@ static uint alter_table_flags(uint flags __attribute__((unused)))
|
|||||||
HA_FAST_CHANGE_PARTITION);
|
HA_FAST_CHANGE_PARTITION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const uint ha_partition::NO_CURRENT_PART_ID= 0xFFFFFFFF;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Constructor method
|
Constructor method
|
||||||
|
|
||||||
|
@ -468,7 +468,7 @@ public:
|
|||||||
virtual int reset(void);
|
virtual int reset(void);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const uint NO_CURRENT_PART_ID= 0xFFFFFFFF;
|
static const uint NO_CURRENT_PART_ID;
|
||||||
int loop_extra(enum ha_extra_function operation);
|
int loop_extra(enum ha_extra_function operation);
|
||||||
void late_extra_cache(uint partition_id);
|
void late_extra_cache(uint partition_id);
|
||||||
void late_extra_no_cache(uint partition_id);
|
void late_extra_no_cache(uint partition_id);
|
||||||
|
Reference in New Issue
Block a user