mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.0' into 10.1
This commit is contained in:
@ -713,9 +713,11 @@ typedef struct system_status_var
|
||||
ulong ha_read_key_count;
|
||||
ulong ha_read_next_count;
|
||||
ulong ha_read_prev_count;
|
||||
ulong ha_read_retry_count;
|
||||
ulong ha_read_rnd_count;
|
||||
ulong ha_read_rnd_next_count;
|
||||
ulong ha_read_rnd_deleted_count;
|
||||
|
||||
/*
|
||||
This number doesn't include calls to the default implementation and
|
||||
calls made by range access. The intent is to count only calls made by
|
||||
@ -749,6 +751,8 @@ typedef struct system_status_var
|
||||
ulong select_range_count_;
|
||||
ulong select_range_check_count_;
|
||||
ulong select_scan_count_;
|
||||
ulong update_scan_count;
|
||||
ulong delete_scan_count;
|
||||
ulong executed_triggers;
|
||||
ulong long_query_count;
|
||||
ulong filesort_merge_passes_;
|
||||
@ -3082,12 +3086,12 @@ public:
|
||||
set_start_time();
|
||||
start_utime= utime_after_lock= microsecond_interval_timer();
|
||||
}
|
||||
inline void set_time(my_hrtime_t t)
|
||||
inline void set_time(my_hrtime_t t)
|
||||
{
|
||||
user_time= t;
|
||||
set_time();
|
||||
}
|
||||
inline void set_time(my_time_t t, ulong sec_part)
|
||||
inline void set_time(my_time_t t, ulong sec_part)
|
||||
{
|
||||
my_hrtime_t hrtime= { hrtime_from_time(t) + sec_part };
|
||||
set_time(hrtime);
|
||||
@ -3940,7 +3944,7 @@ private:
|
||||
|
||||
/* Protect against add/delete of temporary tables in parallel replication */
|
||||
void rgi_lock_temporary_tables();
|
||||
void rgi_unlock_temporary_tables();
|
||||
void rgi_unlock_temporary_tables(bool clear);
|
||||
bool rgi_have_temporary_tables();
|
||||
public:
|
||||
/*
|
||||
@ -3964,15 +3968,15 @@ public:
|
||||
if (rgi_slave)
|
||||
rgi_lock_temporary_tables();
|
||||
}
|
||||
inline void unlock_temporary_tables()
|
||||
inline void unlock_temporary_tables(bool clear)
|
||||
{
|
||||
if (rgi_slave)
|
||||
rgi_unlock_temporary_tables();
|
||||
rgi_unlock_temporary_tables(clear);
|
||||
}
|
||||
inline bool have_temporary_tables()
|
||||
{
|
||||
return (temporary_tables ||
|
||||
(rgi_slave && rgi_have_temporary_tables()));
|
||||
(rgi_slave && unlikely(rgi_have_temporary_tables())));
|
||||
}
|
||||
|
||||
LF_PINS *tdc_hash_pins;
|
||||
|
Reference in New Issue
Block a user