lp://staging/~akopytov/percona-server/release-5.5.12-20.3-issue17159
- Get this branch:
- bzr branch lp://staging/~akopytov/percona-server/release-5.5.12-20.3-issue17159
Branch merges
Branch information
- Owner:
- Alexey Kopytov
- Status:
- Development
Recent revisions
- 118. By Oleg Tsarev
-
Reason of bugs #786645 and #794345: when we run test under valgrind test work long time, and slow query log has extra query "call mtr.check_
testcase( );".
I disable slow query log on startup, and enable only when I need.
This is actual for tests:
* percona_slow_extended- log_slow_ filter
* percona_slow_extended- long_query_ time
* percona_slow_extended- microseconds_ in_slow_ extended
* percona_slow_extended- min_examined_ row_limit
* percona_slow_extended- use_global_ long_query_ time - 117. By Oleg Tsarev
-
The reason of bug #786645 and #794348: patch slow_extended.patch adds option "log_slow_
verbosity" with value "profiling_ use_getrusage" .
This option enable/disable call "getrusage", but doesn't check status when uses variable changed by "getrusage".
As result valgrind show warning "potential use of uninitialized value".
Now I check status before access to changed variables.
This is actual for tests:
* main.profiling
* main.show_profile - 116. By Oleg Tsarev
-
Bugs: #786645 and #794350.
Sometime variable "write_to_slow_log" (used in slow_extended.patch for log_slow_rate_limit) used without initialization in "prepare_ new_connection" , because "prepare_ new_connection" call before initialization of "write_ to_slow_ log".
I now first call initialization and then "prepare_new_connection" .
This is actual for tests:
* main.init_connect - 114. By Laurynas Biveinis
-
Fix LP bug 791849: valgrind reported memory leaks in XtraDB
initialization.The patch innodb_
adaptive_ hash_index_ partitions. patch introduces
btr_search_latch_part and btr_search_ sys->hash_ index variables, which
are allocated in btr_search_sys_create, however corresponding
deallocation in btr_search_sys_free was incomplete. The fix is
straightforward. - 113. By Alexey Kopytov
-
Fixed the test so that:
1. long_query_time is set 0 to capture all queries in the slow query
log to make the test more deterministic.
2. We can now get rid of using SLEEP() due to 1.
3. "# Time:" lines are skipped from the slow query log, because they are
added to the query log if the current time is different from the last
logged query time, which of course makes the test non-deterministic. - 112. By Ignacio Nin
-
Adapt test to our directory names (debian, redhat)
This test expected documentation to be placed in /usr/share/
doc/MySQL* .
Change the path in order to follow debian and RedHat's conventions.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/percona-server/5.5