mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
remove thd_mark_as_hard_kill()
(because it's conceptually wrong. only the user can decide whether the kill is allowed to leave tables in the inconsistent state, storage engine has no say in that)
This commit is contained in:
@ -641,18 +641,6 @@ int mysql_tmpfile(const char *prefix);
|
||||
*/
|
||||
int thd_killed(const MYSQL_THD thd);
|
||||
|
||||
/**
|
||||
Increase level of kill ; Ensures that thd_killed() returns true.
|
||||
|
||||
@param thd Thread connection handle
|
||||
|
||||
@details
|
||||
Needed if storage engine wants to abort things because of a 'soft' (ie,
|
||||
safe) kill but still uses thd_killed() to check if it's killed.
|
||||
**/
|
||||
|
||||
void thd_mark_as_hard_kill(MYSQL_THD thd);
|
||||
|
||||
/**
|
||||
Return the thread id of a user thread
|
||||
|
||||
|
@ -227,7 +227,6 @@ char *thd_security_context(void* thd, char *buffer, unsigned int length,
|
||||
void thd_inc_row_count(void* thd);
|
||||
int mysql_tmpfile(const char *prefix);
|
||||
int thd_killed(const void* thd);
|
||||
void thd_mark_as_hard_kill(void* thd);
|
||||
unsigned long thd_get_thread_id(const void* thd);
|
||||
void thd_get_xid(const void* thd, MYSQL_XID *xid);
|
||||
void mysql_query_cache_invalidate4(void* thd,
|
||||
|
@ -227,7 +227,6 @@ char *thd_security_context(void* thd, char *buffer, unsigned int length,
|
||||
void thd_inc_row_count(void* thd);
|
||||
int mysql_tmpfile(const char *prefix);
|
||||
int thd_killed(const void* thd);
|
||||
void thd_mark_as_hard_kill(void* thd);
|
||||
unsigned long thd_get_thread_id(const void* thd);
|
||||
void thd_get_xid(const void* thd, MYSQL_XID *xid);
|
||||
void mysql_query_cache_invalidate4(void* thd,
|
||||
|
@ -180,7 +180,6 @@ char *thd_security_context(void* thd, char *buffer, unsigned int length,
|
||||
void thd_inc_row_count(void* thd);
|
||||
int mysql_tmpfile(const char *prefix);
|
||||
int thd_killed(const void* thd);
|
||||
void thd_mark_as_hard_kill(void* thd);
|
||||
unsigned long thd_get_thread_id(const void* thd);
|
||||
void thd_get_xid(const void* thd, MYSQL_XID *xid);
|
||||
void mysql_query_cache_invalidate4(void* thd,
|
||||
|
Reference in New Issue
Block a user