mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug#20094067: BACKPORT BUG#19683834 TO 5.5 AND 5.6
Backporting the patch and the test case fixed as part of BUG#16041903 and BUG#19683834 respectively.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -4019,7 +4019,7 @@ request_backoff_action(enum_open_table_action action_arg,
|
||||
if (action_arg != OT_REOPEN_TABLES && m_has_locks)
|
||||
{
|
||||
my_error(ER_LOCK_DEADLOCK, MYF(0));
|
||||
mark_transaction_to_rollback(m_thd, true);
|
||||
m_thd->mark_transaction_to_rollback(true);
|
||||
return TRUE;
|
||||
}
|
||||
/*
|
||||
|
Reference in New Issue
Block a user