Merge lp:~dshrews/drizzle/bugs_626566_637590 into lp:~drizzle-trunk/drizzle/development
Proposed by
David Shrewsbury
Status: | Merged |
---|---|
Approved by: | Brian Aker |
Approved revision: | 1762 |
Merged at revision: | 1766 |
Proposed branch: | lp:~dshrews/drizzle/bugs_626566_637590 |
Merge into: | lp:~drizzle-trunk/drizzle/development |
Diff against target: |
104 lines (+29/-4) 1 file modified
drizzled/transaction_services.cc (+29/-4) |
To merge this branch: | bzr merge lp:~dshrews/drizzle/bugs_626566_637590 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Aker | Needs Information | ||
Review via email: mp+35353@code.launchpad.net |
Description of the change
The segment_id of Statement messages wasn't remaining set to its proper value when a Transaction message had to be split up due to exceed message size. This broke the rollback code since it could not identify bulk load messages.
Also fixed calculating the current message size by using the Transaction message rather than its embedded Statement messages.
Also also, during a ROLLBACK, the transaction id was improperly incremented.
To post a comment you must log in.
Anyway to add a test case for the rollback?