Bug #37988 | Test "xml" is not protected against existing table | ||
---|---|---|---|
Submitted: | 9 Jul 2008 11:54 | Modified: | 3 Oct 2008 7:47 |
Reporter: | Joerg Bruehe | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Tests | Severity: | S3 (Non-critical) |
Version: | 5.1.26-rc | OS: | Windows |
Assigned to: | Ramil Kalimullin | CPU Architecture: | Any |
[9 Jul 2008 11:54]
Joerg Bruehe
[9 Jul 2008 12:41]
Joerg Bruehe
Error in the original text: It happens in "classic" builds on both Windows platforms, 32 or 64 bit. Sorry !
[10 Jul 2008 16:37]
Georgi Kodinov
The way our test suite works is that each test is supposed to clean up for itself. So the problem is someplace else. Please report the reason for this.
[2 Oct 2008 18:01]
Joerg Bruehe
You are not telling me an arbitrary test may be programmed such that it depends on the preceding tests having finished (= not crashed), are you? That would be an optimistic assumption, and so is unusable. Consider for example test "alias": It starts --disable_warnings DROP TABLE IF EXISTS t1; --enable_warnings CREATE TABLE t1 ( So regardless of the current database contents, table "t1" can be created. Now look at test "xml": The first occurrence of "t1" is in a "create table" statement, this will obviously fail if the table exists (this bug). It simply lacks a "drop table if exists".
[7 Oct 2008 14:11]
Joerg Bruehe
Accepted as "Not a bug", the QA consensus is that the preceding test should have cleaned up (or, if crashed, that the test script should have restored a clean DB). I will have to search the preceding test which left the table around.