Merge lp://staging/~akopytov/percona-server/bug1070856-5.1 into lp://staging/percona-server/5.1
Status: | Merged |
---|---|
Approved by: | Laurynas Biveinis |
Approved revision: | no longer in the source branch. |
Merged at revision: | 502 |
Proposed branch: | lp://staging/~akopytov/percona-server/bug1070856-5.1 |
Merge into: | lp://staging/percona-server/5.1 |
Diff against target: |
56 lines (+26/-0) 3 files modified
Percona-Server/include/my_sys.h (+1/-0) Percona-Server/mysys/mf_cache.c (+18/-0) Percona-Server/sql/log.cc (+7/-0) |
To merge this branch: | bzr merge lp://staging/~akopytov/percona-server/bug1070856-5.1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
George Ormond Lorch III (community) | g2 | Approve | |
Vlad Lesin (community) | Approve | ||
Review via email: mp+131514@code.staging.launchpad.net |
Description of the change
Bug #1070856: Temporary files created by binary log cache are not purged
The problem was that the temporary file used to cache transactions for
the binary log was initialized once (when the in-memory buffer was
exceeded) and close (and thus, removed) only when closing the
connection. Which might lead to problems with large temporary files
being created and not removed in case of persistent connections and
large transactions (i.e. LOAD DATA INFILE).
Fixed by truncating the temporary file, if used for a binary log
transaction cache, when committing or rolling back a statement or a
transaction.
http:// jenkins. percona. com/view/ PS%205. 1/job/percona- server- 5.1-param/ 453/