Bug #44561 | mtr2 --start-dirty is broken | ||
---|---|---|---|
Submitted: | 29 Apr 2009 21:40 | Modified: | 29 May 2009 1:14 |
Reporter: | Omer Barnir (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Tools: MTR / mysql-test-run | Severity: | S7 (Test Cases) |
Version: | 5.1/6.0 | OS: | Any |
Assigned to: | Bjørn Munch | CPU Architecture: | Any |
[29 Apr 2009 21:40]
Omer Barnir
[29 Apr 2009 21:41]
Omer Barnir
From a chat with Magnus: [13:59] <magnus> ./mtr alias --start-dirty --verbose I see printout worker[1] > Cleaning datadirs... that is not a good sign...
[30 Apr 2009 10:31]
Bjørn Munch
This affects stored procedures but not tables. The data directory is *not* deleted. Even if I try to create a stored procedure exactly like mtr does it (just a different name), that proc is gone when the server is restarted, but the 4 procs created my mtr are left. No, they are *not* re-created. By watching the size of var/mysqld.1/data/mysql/proc.MYD, I see that it keeps its size when I stop the first server, but shrinks a bit when the new server is started.
[30 Apr 2009 12:23]
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/73123 2787 Bjorn Munch 2009-04-30 Bug #44561 mtr2 --start-dirty is broken start-dirty would remove stored procs etc. Skip the copying back from stored system dir if using --start-dirty modified: mysql-test/mysql-test-run.pl
[30 Apr 2009 12:23]
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/73125 2787 Bjorn Munch 2009-04-30 Bug #44561 mtr2 --start-dirty is broken start-dirty would remove stored procs etc. Put the copying back from stored system dir inside if (! $opt_start_dirty) modified: mysql-test/mysql-test-run.pl
[30 Apr 2009 12:26]
Bjørn Munch
Sorry for the double commit, there was some hiccup
[5 May 2009 9:47]
Bjørn Munch
Pushed to 6.0-mtr and 5.1-mtr
[14 May 2009 16:25]
Bugs System
Pushed into 6.0.12-alpha (revid:alik@sun.com-20090514161729-xiup7q8jlu1zfy7s) (version source revid:bjorn.munch@sun.com-20090505094251-ck1y1sme0dtoulis) (merge vers: 6.0.12-alpha) (pib:6)
[15 May 2009 1:26]
Paul DuBois
Test suite changes. No changelog entry needed. Setting report to NDI pending push into 5.1.x.
[28 May 2009 8:16]
Bugs System
Pushed into 5.1.36 (revid:joro@sun.com-20090528073639-yohsb4q1jzg7ycws) (version source revid:bjorn.munch@sun.com-20090525205831-zitq9aysxy5zgf5r) (merge vers: 5.1.36) (pib:6)
[29 May 2009 1:14]
Paul DuBois
Test suite change. No changelog entry needed.
[26 Aug 2009 13:46]
Bugs System
Pushed into 5.1.37-ndb-7.0.8 (revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)
[26 Aug 2009 13:46]
Bugs System
Pushed into 5.1.37-ndb-6.3.27 (revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (version source revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (merge vers: 5.1.37-ndb-6.3.27) (pib:11)
[26 Aug 2009 13:48]
Bugs System
Pushed into 5.1.37-ndb-6.2.19 (revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (version source revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (merge vers: 5.1.37-ndb-6.2.19) (pib:11)
[27 Aug 2009 16:32]
Bugs System
Pushed into 5.1.35-ndb-7.1.0 (revid:magnus.blaudd@sun.com-20090827163030-6o3kk6r2oua159hr) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)