lp:~tsarev/percona-server/5.5-install_tests_fix

Created by Oleg Tsarev and last modified
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

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

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

115. By Ignacio Nin

Merge a bugfix from trunk

Merge a bugfix for bug 723050.

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

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

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

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

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:
lp:percona-server/5.5
This branch contains Public information 
Everyone can see this information.

Subscribers