mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
24
sql/mysqld.h
24
sql/mysqld.h
@ -12,7 +12,7 @@
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
|
||||
|
||||
#ifndef MYSQLD_INCLUDED
|
||||
#define MYSQLD_INCLUDED
|
||||
@ -59,7 +59,7 @@ typedef struct st_mysql_show_var SHOW_VAR;
|
||||
#define OPT_SESSION SHOW_OPT_SESSION
|
||||
#define OPT_GLOBAL SHOW_OPT_GLOBAL
|
||||
|
||||
extern MY_TIMER_INFO sys_timer_info;
|
||||
extern MYSQL_PLUGIN_IMPORT MY_TIMER_INFO sys_timer_info;
|
||||
|
||||
/*
|
||||
Values for --slave-parallel-mode
|
||||
@ -792,26 +792,6 @@ inline void table_case_convert(char * name, uint length)
|
||||
name, length, name, length);
|
||||
}
|
||||
|
||||
inline void thread_safe_increment32(int32 *value)
|
||||
{
|
||||
(void) my_atomic_add32_explicit(value, 1, MY_MEMORY_ORDER_RELAXED);
|
||||
}
|
||||
|
||||
inline void thread_safe_decrement32(int32 *value)
|
||||
{
|
||||
(void) my_atomic_add32_explicit(value, -1, MY_MEMORY_ORDER_RELAXED);
|
||||
}
|
||||
|
||||
inline void thread_safe_increment64(int64 *value)
|
||||
{
|
||||
(void) my_atomic_add64_explicit(value, 1, MY_MEMORY_ORDER_RELAXED);
|
||||
}
|
||||
|
||||
inline void thread_safe_decrement64(int64 *value)
|
||||
{
|
||||
(void) my_atomic_add64_explicit(value, -1, MY_MEMORY_ORDER_RELAXED);
|
||||
}
|
||||
|
||||
extern void set_server_version(char *buf, size_t size);
|
||||
|
||||
#define current_thd _current_thd()
|
||||
|
Reference in New Issue
Block a user