Bug #27934 test client_xml misssing initialization
Submitted: 18 Apr 2007 19:23 Modified: 28 Jul 2008 16:57
Reporter: Martin Friebe (Gold Quality Contributor) (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.0.40,5.1 OS:Any
Assigned to: Alexander Barkov CPU Architecture:Any
Tags: test

[18 Apr 2007 19:23] Martin Friebe
Description:
The testcase "client_xml" does not have the usual:
 drop table if exists...

Therefore if the previous test fails, leaving table t1, client_xml will also fail

This requires test runs with --force

How to repeat:
look at the testcase

It happened to me, when running the test attached to bug# 27921
(as t/bug27921.test)

Suggested fix:
add the usual "drop" on top of the testcase

--disable_warnings
drop table if exists t1;
--enable_warnings
[18 Apr 2007 19:31] MySQL Verification Team
Thank you for the bug report.
[27 May 2008 9:25] 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/47066

ChangeSet@1.2613, 2008-05-27 14:18:53+05:00, bar@mysql.com +2 -0
  Bug#27934 test client_xml misssing initialization
  Problem: missing initialization, if the previous test
  fails leaving table t1, client_xml fails as well.
  Fix: adding initialization.
[18 Jul 2008 9:13] 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/50011

2645 Alexander Barkov	2008-07-18
      Bug#27934 test client_xml misssing initialization
      Problem: missing initialization, if the previous test
      fails leaving table t1, client_xml fails as well.
      Fix: adding initialization.
[18 Jul 2008 9:15] Alexander Barkov
Pushed into bzr 5.0.58-bugteam
[18 Jul 2008 12:01] 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/50028

2646 Georgi Kodinov	2008-07-18
      Bug 38158: mysql client regression, can't read dump files
      
      - Revert the fix for bug 33812
      - fixed a win32 warning
[22 Jul 2008 18:33] Bugs System
Pushed into 5.0.68
[22 Jul 2008 19:58] Paul DuBois
Test case change. No changelog entry needed.
[22 Jul 2008 20:01] Paul DuBois
Setting report to Patch queued pending push into 5.1.x.
[28 Jul 2008 13:45] Bugs System
Pushed into 5.0.68  (revid:kpettersson@mysql.com-20080721102431-z5e57evh2lrdqaj8) (pib:2)
(Retry automatic marking, to ensure nothing is missed. cm01)
[28 Jul 2008 14:44] Paul DuBois
Setting report to Patch queued pending push into 5.1.x.
[28 Jul 2008 14:44] Bugs System
Pushed into 6.0.7-alpha  (revid:alik@mysql.com-20080725172155-fnc73o50e4tgl23k) (version source revid:alik@mysql.com-20080725172155-fnc73o50e4tgl23k) (pib:3)
[28 Jul 2008 14:51] Paul DuBois
Setting report to Patch queued pending push into 5.1.x.
[28 Jul 2008 16:44] Bugs System
Pushed into 5.1.28  (revid:davi.arnaut@sun.com-20080722182431-0i2f1yc4uocime9q) (version source revid:davi.arnaut@sun.com-20080722182431-0i2f1yc4uocime9q) (pib:3)
[28 Jul 2008 16:57] Paul DuBois
Test case change. No changelog entry needed.
[14 Sep 2008 5:44] Bugs System
Pushed into 6.0.7-alpha  (revid:bar@mysql.com-20080718090716-vyawbtjhj0gc0c7j) (version source revid:john.embretsen@sun.com-20080724122511-9c0oudz1xrdrs6y6) (pib:3)