[MDEV-3511] LP:1023404 - problems with savepoints and tokudb with 5.5 Created: 2012-07-11 Updated: 2014-06-20 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Rich Prohaska | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
We observed a problem with savepoints in Mariadb 5.5.25. The problem at the SQL layer is that a "rollback to savepoint" statement would get an error after the savepoint was created. The problem was caused by the savepoint name in the savepoint stack getting overwritten by the handlerton savepoint_set method. We believe that the handler savepoint_offset initialization is WRONG. The ha_initialize_handlerton function executes the savepoint initialization twice, which breaks the contract spec'ed in the handler.h file. Suppose that savepoint_alloc_size = 0, and hton->savepoint_offset = 32. Our fix is here: lp:~prohaska7/maria/5.5-savepoint-offset-fix |
| Comments |
| Comment by Sergei Golubchik [ 2012-07-11 ] |
|
Re: problems with savepoints and tokudb with 5.5 |
| Comment by Rich Prohaska [ 2012-07-11 ] |
|
Re: [Bug 1023404] Re: problems with savepoints and tokudb with 5.5 On Wed, Jul 11, 2012 at 10:14 AM, Sergei <1023404@bugs.launchpad.net> wrote: |
| Comment by Rasmus Johansson (Inactive) [ 2012-07-11 ] |
|
Launchpad bug id: 1023404 |