Bug #56921 It should be possible to log connection statements in mysqltest
Submitted: 22 Sep 2010 8:29 Modified: 14 Nov 2010 2:51
Reporter: Bjørn Munch Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version:5.1+ OS:Any
Assigned to: Bjørn Munch CPU Architecture:Any

[22 Sep 2010 8:29] Bjørn Munch
Description:
This was requested in a meeting with Server QA. They would like to see connection statements reflected in the log to make it easier to interpret.

How to repeat:
Run any test with switches connections and observe that this cannot be seen from the log.

Suggested fix:
Add a command like --enable-connect-log which turns on such logging. This should be off by default to avoid massive changes to existing result files.
[22 Sep 2010 9:00] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/118782

2934 Bjorn Munch	2010-09-22
      Bug #56921 It should be possible to log connection statements in mysqltest
      Added --enable-connect-log, somewhet similar to --enable-query-log
      If query log is disabled, disable connect log too
      Also some related cleanup in mysqltest.test: removing duplicate test loop
[28 Sep 2010 12:11] Bjørn Munch
Reviewer says OK by email and IRC
[28 Sep 2010 15:01] Bjørn Munch
Pushed to -mtr branches
[7 Oct 2010 22:58] Paul DuBois
Changes to test suite. No changelog entry needed.
[1 Nov 2010 19:00] Bugs System
Pushed into mysql-5.1 5.1.53 (revid:build@mysql.com-20101101184443-o2olipi8vkaxzsqk) (version source revid:build@mysql.com-20101101184443-o2olipi8vkaxzsqk) (merge vers: 5.1.53) (pib:21)
[9 Nov 2010 19:43] Bugs System
Pushed into mysql-5.5 5.5.7-rc (revid:sunanda.menon@sun.com-20101109182959-otkxq8vo2dcd13la) (version source revid:sunanda.menon@sun.com-20101109182959-otkxq8vo2dcd13la) (merge vers: 5.5.7-rc) (pib:21)
[13 Nov 2010 16:17] Bugs System
Pushed into mysql-trunk 5.6.99-m5 (revid:alexander.nozdrin@oracle.com-20101113155825-czmva9kg4n31anmu) (version source revid:alexander.nozdrin@oracle.com-20101113152450-2zzcm50e7i4j35v7) (merge vers: 5.6.1-m4) (pib:21)
[13 Nov 2010 16:30] Bugs System
Pushed into mysql-next-mr (revid:alexander.nozdrin@oracle.com-20101113160336-atmtmfb3mzm4pz4i) (version source revid:vasil.dimov@oracle.com-20100629074804-359l9m9gniauxr94) (pib:21)