mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge with mariaDB 5.5.23: bzr merge lp:maria/5.5
This commit is contained in:
@ -145,9 +145,9 @@ Key::Key(const Key &rhs, MEM_ROOT *mem_root)
|
||||
*/
|
||||
|
||||
Foreign_key::Foreign_key(const Foreign_key &rhs, MEM_ROOT *mem_root)
|
||||
:Key(rhs),
|
||||
:Key(rhs,mem_root),
|
||||
ref_table(rhs.ref_table),
|
||||
ref_columns(rhs.ref_columns),
|
||||
ref_columns(rhs.ref_columns,mem_root),
|
||||
delete_opt(rhs.delete_opt),
|
||||
update_opt(rhs.update_opt),
|
||||
match_opt(rhs.match_opt)
|
||||
@ -3930,6 +3930,9 @@ void THD::restore_backup_open_tables_state(Open_tables_backup *backup)
|
||||
|
||||
extern "C" int thd_killed(const MYSQL_THD thd)
|
||||
{
|
||||
if (!thd)
|
||||
thd= current_thd;
|
||||
|
||||
if (!(thd->killed & KILL_HARD_BIT))
|
||||
return 0;
|
||||
return thd->killed;
|
||||
|
Reference in New Issue
Block a user