Bug #43388 main.status2 fails with embedded server
Submitted: 4 Mar 2009 18:32 Modified: 2 Dec 2009 18:58
Reporter: Matthias Leich Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.0.88 OS:Any
Assigned to: CPU Architecture:Any

[4 Mar 2009 18:32] Matthias Leich
Description:
mysql-5.0-bugteam last changeset March 2009
./mysql-test-run --embedded
....
TEST     RESULT   TIME (ms)
-------------------------------------------------------

status2  [ fail ] 
--- .../r/status2.result
+++ .../r/status2.reject
@@ -55,9 +55,9 @@
 Questions      16
 Global status updated; Assert diff == 4
 FLUSH STATUS;
-SELECT 4;
-4
-4
+SELECT 17;
+17
+17
 DROP TABLE t1,t2;
 DROP PROCEDURE p1;
 DROP FUNCTION f1;

mysqltest: Result content mismatch

The bug does not apply to MySQL 5.1 and 6.0
because the test gets there skipped.

How to repeat:
./mysql-test-run --embedded

Suggested fix:
Assuming that it is correct to skip this test
in case we are running with the embedded server
I propose to backport the solution used in MySQL 5.1.
[1 Nov 2009 18:41] Valeriy Kravchuk
Verified just as described with recent 5.0.88 from bzr on Linux.
[3 Dec 2009 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".