• konstantin@mysql.com's avatar
    A fix and a test case for Bug#10760 and complementary cleanups. · 14344b65
    konstantin@mysql.com authored
    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.
    14344b65
ha_example.h 5.56 KB