mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.10' into 10.11
This commit is contained in:
@@ -452,6 +452,7 @@ void thd_storage_lock_wait(THD *thd, long long value)
|
||||
extern "C"
|
||||
void *thd_get_ha_data(const THD *thd, const struct handlerton *hton)
|
||||
{
|
||||
DBUG_ASSERT(thd == current_thd || mysql_mutex_is_owner(&thd->LOCK_thd_data));
|
||||
return thd->ha_data[hton->slot].ha_ptr;
|
||||
}
|
||||
|
||||
@@ -1520,6 +1521,8 @@ void THD::cleanup(void)
|
||||
wsrep_client_thread= false;
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
DEBUG_SYNC(this, "THD_cleanup_after_set_killed");
|
||||
|
||||
mysql_ha_cleanup(this);
|
||||
locked_tables_list.unlock_locked_tables(this);
|
||||
|
||||
@@ -3935,6 +3938,7 @@ Statement::Statement(LEX *lex_arg, MEM_ROOT *mem_root_arg,
|
||||
lex(lex_arg),
|
||||
db(null_clex_str)
|
||||
{
|
||||
hr_prepare_time.val= 0,
|
||||
name= null_clex_str;
|
||||
}
|
||||
|
||||
@@ -3951,6 +3955,7 @@ void Statement::set_statement(Statement *stmt)
|
||||
column_usage= stmt->column_usage;
|
||||
lex= stmt->lex;
|
||||
query_string= stmt->query_string;
|
||||
hr_prepare_time= stmt->hr_prepare_time;
|
||||
}
|
||||
|
||||
|
||||
@@ -7403,7 +7408,7 @@ bool THD::binlog_for_noop_dml(bool transactional_table)
|
||||
}
|
||||
|
||||
|
||||
#if !defined(DBUG_OFF) && !defined(_lint)
|
||||
#if defined(DBUG_TRACE) && !defined(_lint)
|
||||
static const char *
|
||||
show_query_type(THD::enum_binlog_query_type qtype)
|
||||
{
|
||||
|
Reference in New Issue
Block a user