mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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
|
||||
}
|
||||
|
||||
const int Listener::LISTEN_BACK_LOG_SIZE= 5; /* standard backlog size */
|
||||
|
||||
Listener::Listener(Thread_registry *thread_registry_arg,
|
||||
User_map *user_map_arg)
|
||||
|
@ -39,7 +39,7 @@ protected:
|
||||
virtual void run();
|
||||
|
||||
private:
|
||||
static const int LISTEN_BACK_LOG_SIZE= 5; /* standard backlog size */
|
||||
static const int LISTEN_BACK_LOG_SIZE;
|
||||
|
||||
private:
|
||||
Thread_info thread_info;
|
||||
|
@ -145,6 +145,8 @@ static uint alter_table_flags(uint flags __attribute__((unused)))
|
||||
HA_FAST_CHANGE_PARTITION);
|
||||
}
|
||||
|
||||
const uint ha_partition::NO_CURRENT_PART_ID= 0xFFFFFFFF;
|
||||
|
||||
/*
|
||||
Constructor method
|
||||
|
||||
|
@ -468,7 +468,7 @@ public:
|
||||
virtual int reset(void);
|
||||
|
||||
private:
|
||||
static const uint NO_CURRENT_PART_ID= 0xFFFFFFFF;
|
||||
static const uint NO_CURRENT_PART_ID;
|
||||
int loop_extra(enum ha_extra_function operation);
|
||||
void late_extra_cache(uint partition_id);
|
||||
void late_extra_no_cache(uint partition_id);
|
||||
|
Reference in New Issue
Block a user