mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge 10.0.14 into 10.1
This commit is contained in:
@ -524,6 +524,14 @@ typedef struct system_variables
|
||||
ulonglong sortbuff_size;
|
||||
ulonglong group_concat_max_len;
|
||||
ulonglong default_regex_flags;
|
||||
|
||||
/**
|
||||
Place holders to store Multi-source variables in sys_var.cc during
|
||||
update and show of variables.
|
||||
*/
|
||||
ulonglong slave_skip_counter;
|
||||
ulonglong max_relay_log_size;
|
||||
|
||||
ha_rows select_limit;
|
||||
ha_rows max_join_size;
|
||||
ha_rows expensive_subquery_limit;
|
||||
@ -589,12 +597,6 @@ typedef struct system_variables
|
||||
*/
|
||||
uint32 gtid_domain_id;
|
||||
uint64 gtid_seq_no;
|
||||
/**
|
||||
Place holders to store Multi-source variables in sys_var.cc during
|
||||
update and show of variables.
|
||||
*/
|
||||
ulong slave_skip_counter;
|
||||
ulong max_relay_log_size;
|
||||
|
||||
/**
|
||||
Default transaction access mode. READ ONLY (true) or READ WRITE (false).
|
||||
@ -714,6 +716,7 @@ typedef struct system_status_var
|
||||
ulong filesort_range_count_;
|
||||
ulong filesort_rows_;
|
||||
ulong filesort_scan_count_;
|
||||
ulong filesort_pq_sorts_;
|
||||
/* Prepared statements and binary protocol */
|
||||
ulong com_stmt_prepare;
|
||||
ulong com_stmt_reprepare;
|
||||
@ -768,6 +771,13 @@ typedef struct system_status_var
|
||||
#define last_system_status_var questions
|
||||
#define last_cleared_system_status_var memory_used
|
||||
|
||||
/*
|
||||
Global status variables
|
||||
*/
|
||||
|
||||
extern ulong feature_files_opened_with_delayed_keys;
|
||||
|
||||
|
||||
void add_to_status(STATUS_VAR *to_var, STATUS_VAR *from_var);
|
||||
|
||||
void add_diff_to_status(STATUS_VAR *to_var, STATUS_VAR *from_var,
|
||||
@ -1371,7 +1381,8 @@ enum enum_thread_type
|
||||
SYSTEM_THREAD_SLAVE_SQL= 4,
|
||||
SYSTEM_THREAD_EVENT_SCHEDULER= 8,
|
||||
SYSTEM_THREAD_EVENT_WORKER= 16,
|
||||
SYSTEM_THREAD_BINLOG_BACKGROUND= 32
|
||||
SYSTEM_THREAD_BINLOG_BACKGROUND= 32,
|
||||
SYSTEM_THREAD_SLAVE_INIT= 64
|
||||
};
|
||||
|
||||
inline char const *
|
||||
@ -1386,6 +1397,7 @@ show_system_thread(enum_thread_type thread)
|
||||
RETURN_NAME_AS_STRING(SYSTEM_THREAD_SLAVE_SQL);
|
||||
RETURN_NAME_AS_STRING(SYSTEM_THREAD_EVENT_SCHEDULER);
|
||||
RETURN_NAME_AS_STRING(SYSTEM_THREAD_EVENT_WORKER);
|
||||
RETURN_NAME_AS_STRING(SYSTEM_THREAD_SLAVE_INIT);
|
||||
default:
|
||||
sprintf(buf, "<UNKNOWN SYSTEM THREAD: %d>", thread);
|
||||
return buf;
|
||||
@ -1753,6 +1765,8 @@ struct wait_for_commit
|
||||
{
|
||||
if (waitee)
|
||||
unregister_wait_for_prior_commit2();
|
||||
else
|
||||
wakeup_error= 0;
|
||||
}
|
||||
/*
|
||||
Remove a waiter from the list in the waitee. Used to unregister a wait.
|
||||
@ -2510,8 +2524,6 @@ public:
|
||||
/** Idle instrumentation state. */
|
||||
PSI_idle_locker_state m_idle_state;
|
||||
#endif /* HAVE_PSI_IDLE_INTERFACE */
|
||||
/** True if the server code is IDLE for this connection. */
|
||||
bool m_server_idle;
|
||||
|
||||
/*
|
||||
Id of current query. Statement can be reused to execute several queries
|
||||
|
Reference in New Issue
Block a user