mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
A fix and a test case for Bug#10760 and complementary cleanups.
The idea of the patch is that every cursor gets its own lock id for table level locking. Thus cursors are protected from updates performed within the same connection. Additionally a list of transient (must be closed at commit) cursors is maintained and all transient cursors are closed when necessary. Lastly, this patch adds support for deadlock timeouts to TLL locking when using cursors. + post-review fixes.
This commit is contained in:
parent
f40ac0bb99
commit
14344b658a
34 changed files with 671 additions and 147 deletions
|
|
@ -45,9 +45,7 @@ class ha_example: public handler
|
|||
EXAMPLE_SHARE *share; /* Shared lock info */
|
||||
|
||||
public:
|
||||
ha_example(TABLE *table): handler(table)
|
||||
{
|
||||
}
|
||||
ha_example(TABLE *table_arg);
|
||||
~ha_example()
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue