Bug #49096 mtr: --mem option should be ignored on Windows
Submitted: 25 Nov 2009 11:59 Modified: 17 Jun 2010 19:38
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:Windows
Assigned to: Bjørn Munch CPU Architecture:Any
Tags: mtr, windows

[25 Nov 2009 11:59] Bjørn Munch
Description:
Attempts to use the --mem option on Windows leads to the following, and mtr fails:

 - symlinking 'var' to '\tmp\var_auto_bszj'
The symlink function is unimplemented at mysql-test-run.pl line 2123.

How to repeat:
Run mtr with --mem option on Windows.

Suggested fix:
On Windows, the --mem option cannot work as intended and should therefore rather be ignored, after printing a message that it's not supported.
[25 Nov 2009 13:02] 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/91598

2863 Bjorn Munch	2009-11-25
      Bug #49096 mtr: --mem option should be ignored on Windows
      Ignored w/message in v1 and v2
[25 Nov 2009 13:21] John Embretsen
Bjørn, the patch looks good to me :)

I grabbed the patch and applied it to mysql-next-mr and tried running MTR with --mem on Windows. It now runs and displays the message you specified instead of exiting. So it seems to resolve the issue seen in PB2 for the rqg_mdl_stability test [1].

[1]:
http://pb2.norway.sun.com/web.py?action=archive_download&archive_id=998802&pretty=please
[26 Nov 2009 10:24] 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/91766

2864 Bjorn Munch	2009-11-26
      Bug #49096 mtr: --mem option should be ignored on Windows
      Ignored w/message in v1 and v2
[26 Nov 2009 11:46] Bjørn Munch
Pushed to 5.1-mtr, trunk-mtr, next-mr-mtr, 6.0-codebase-mtr
[20 Feb 2010 9:32] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100220092844-jh07ayojyxn8uh9p) (version source revid:bjorn.munch@sun.com-20091126113643-14x9x1b5jw483wiv) (merge vers: 6.0.14-alpha) (pib:16)
[20 Feb 2010 9:34] Bugs System
Pushed into 5.5.3-m2 (revid:alik@sun.com-20100220092622-wvhh1vfy5tjq4mhu) (version source revid:bjorn.munch@sun.com-20091126103637-xcfhi92t575tgo3q) (merge vers: 5.5.0-beta) (pib:16)
[20 Feb 2010 9:37] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100220092730-paoo5t9gcajs5dq8) (version source revid:bjorn.munch@sun.com-20091126110818-tmrskn0sw591eu9k) (pib:16)
[23 Feb 2010 2:12] Paul DuBois
Changes to test suite. No changelog entry needed.

Setting report to Need Merge pending push to 5.1.x, Celosia.
[1 Mar 2010 8:45] Bugs System
Pushed into 5.1.45 (revid:joro@sun.com-20100301083827-xnimmrjg6bh33o1o) (version source revid:azundris@mysql.com-20100222175719-viuh0f3gdsrkgv0r) (merge vers: 5.1.45) (pib:16)
[1 Mar 2010 16:37] Paul DuBois
No changelog entry needed.
[17 Jun 2010 12:06] Bugs System
Pushed into 5.1.47-ndb-7.0.16 (revid:martin.skold@mysql.com-20100617114014-bva0dy24yyd67697) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[17 Jun 2010 12:52] Bugs System
Pushed into 5.1.47-ndb-6.2.19 (revid:martin.skold@mysql.com-20100617115448-idrbic6gbki37h1c) (version source revid:martin.skold@mysql.com-20100609140708-52rvuyq4q500sxkq) (merge vers: 5.1.45-ndb-6.2.19) (pib:16)
[17 Jun 2010 13:34] Bugs System
Pushed into 5.1.47-ndb-6.3.35 (revid:martin.skold@mysql.com-20100617114611-61aqbb52j752y116) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)