Created by Oleg Tsarev on 2011-01-17 and last modified on 2011-05-24
Get this branch:
bzr branch lp:~percona-dev/percona-server/5.1.54-move-and-simplify-innodb_deadlock_count-tests
Members of Percona developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

191. By Oleg Tsarev on 2011-05-24

Move mysql-test/percona_innodb_deadlock_count.* (tests for patch innodb_deadlock_count.patch)
This is simplifing test porting between branches

Also simplify innodb_deadlock_count.test

190. By Oleg Tsarev on 2011-01-13

Propogate updates from Oleksandr Byelkin for mysql-syslog.patch.
Just a code and code style fixes (without any functional changes).
Now patch should build on Window platform

189. By Oleg Tsarev on 2011-01-07

final fix test for patch show_slave_status_nolock.patch. Unfortunatelly, SHOW SLAVE STATUS NOLOCK doesn't determenistic, because doesnt' lock mutex. As result we get float result of tests. Now I remove the SHOW SLAVE STATUS NOLOCK output from the test's result

188. By Oleg Tsarev on 2011-01-06

remove wrong patch

187. By Aleksandr Kuzminsky on 2011-01-06

Ported fixed tests from 5.1.53

186. By Oleg Tsarev on 2011-01-05

I change test for show_slave_status_nolock.patch - replace values in columns Slave_IO_Running and Slave_SQL_Running by constants, and add additional sleep (I didn't find quick in mysql-test-framework way without sleep).

185. By Ignacio Nin on 2011-01-05

Merged from ~percona-dev/percona-server/innodb_bug56413_test_disable

184. By Alexey Kopytov on 2011-01-04

Fixed linker errors about undefined clock_gettime() in client programs
when building without SSL support (i.e. without the '--with-ssl' option
to configure).

The problem was that in client/Makefile.am "LIBS" is overwritten by
"CLIENT_LIBS". So adding "-lrt" to LIBS alone is not enough, it has to
be added to CLIENT_LIBS as well. --with-ssl pulls the "-lrt" flag to
CLIENT_LIBS, that's why the problem could only be observed in very
specific build configurations (e.g. all BUILD/* scripts did not have
it). Actually, the problem exists in the MySQL server as well. It is
just hidden because MySQL does not check for librt at configure stage,
so it is always built without clock_gettime() support by default.

Fixed by adding "-lrt" to CLIENT_LIBS as well. AC_SEARCH_LIBS() has to
be used instead of AC_CHECK_LIB() now, because apart from adding a
library flag to LIBS we now have to perform an additional action.

183. By Oleg Tsarev on 2010-12-29

Sometime test percona_slow_extended-log_slow_verbosity are failed.
This test run long query(SELECT sleep(2)), and than analyze slow query log (search string "No InnoDB statistics available for this query").
You can see bug #695373 - first run of test doesn't string "No InnoDB... " instead of one, but retry run found two string instead of one.
I think reason of that - script searchs string in slow query log BEFORE this string was wrote to log by mysql.

I add FLUSH LOGS, and now test work fine.

Similar changes for tests:

182. By Alexey Kopytov on 2010-12-28


Branch metadata

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