lp:~percona-dev/percona-server/5.1.54-move-and-simplify-innodb_deadlock_count-tests
- Get this branch:
- bzr branch lp:~percona-dev/percona-server/5.1.54-move-and-simplify-innodb_deadlock_count-tests
Branch merges
- Laurynas Biveinis (community): Needs Fixing
- Alexey Kopytov: Pending requested
-
Diff: 127 lines (+40/-59)2 files modifiedmysql-test/innodb_deadlock_count.patch/percona_innodb_deadlock_count.result (+12/-25)
mysql-test/innodb_deadlock_count.patch/percona_innodb_deadlock_count.test (+28/-34)
Branch information
- Owner:
- Percona developers
- Status:
- Development
Recent revisions
- 191. By Oleg Tsarev
-
Move mysql-test/
percona_ innodb_ deadlock_ count.* (tests for patch innodb_ deadlock_ count.patch)
This is simplifing test porting between branchesAlso simplify innodb_
deadlock_ count.test - 190. By Oleg Tsarev
-
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
-
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 - 186. By Oleg Tsarev
-
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). - 184. By Alexey Kopytov
-
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
-
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:
percona_slow_extended- control_ global_ slow
percona_slow_extended- log_slow_ filter
percona_slow_extended- log_slow_ verbosity
percona_slow_extended- long_query_ time
percona_slow_extended- microseconds_ in_slow_ extended
percona_slow_extended- min_examined_ row_limit
percona_slow_extended- slave_innodb_ stats
percona_slow_extended- slave_statement s-and-use_ global_ long_query_ time
percona_slow_extended- slave_statement s
percona_slow_extended- use_global_ long_query_ time
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)