Created by Oleg Tsarev on 2011-06-13 and last modified on 2011-06-13
Get this branch:
bzr branch lp:~tsarev/percona-server/5.5-install_tests_fix
Only Oleg Tsarev can upload to this branch. If you are Oleg Tsarev please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

119. By Oleg Tsarev on 2011-06-13

BEFORE-FIX behaviour: ,/install_tests.sh always install all files from mysql-test/
AFTER-FIX behavior: ./install_tests.sh install tests just for patches listed in "series" file and from mysql-test/.
For every "name.patch" patch we have directory "mysql-test/name.patch/" with tests for this patch.
This script help to maintain patches, merge between different versions, backport patches with tests and so one.
My change fix bug #782391
My change included fix of bug #790199 already.
Also script print statistics of patch applying.

118. By Oleg Tsarev on 2011-06-08

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 on 2011-06-08

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 on 2011-06-08

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

115. By Ignacio Nin on 2011-06-07

Merge a bugfix from trunk

Merge a bugfix for bug 723050.

114. By Laurynas Biveinis on 2011-06-06

Fix LP bug 791849: valgrind reported memory leaks in XtraDB

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

113. By Alexey Kopytov on 2011-06-05

Bug #770296.

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 on 2011-05-24

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.

111. By Ignacio Nin on 2011-05-18

Merge release branch, update version

Create release-5.5.12-20.3 with 5.5.12 changes and release branch from
5.5.11. Update versions to 5.5.12 and 20.3.

110. By Oleg Tsarev on 2011-05-11

port all non-Yasufumi patches

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.