From: Date: March 23 2007 12:26pm Subject: bk commit into 5.0 tree (mhansson:1.2493) BUG#24791 List-Archive: http://lists.mysql.com/commits/22757 X-Bug: 24791 Message-Id: <20070323112633.CD3A82AAE7@linux-st28.site> Below is the list of changes that have just been committed into a local 5.0 repository of martin. When martin does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2007-03-23 12:26:23+01:00, mhansson@stripped +1 -0 Bug #24791: Union with AVG-groups generates wrong results New test case to cover the scenario when the temp table field is of type FLOAT rather than DOUBLE (fields that stem from division or AVG are always DOUBLE) mysql-test/t/temp_table.test@stripped, 2007-03-23 12:26:19+01:00, mhansson@stripped +1 -0 bug #24791 new test case # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: mhansson # Host: linux-st28.site # Root: /home/martin/mysql/src/5.0o-bug24791 --- 1.16/mysql-test/t/temp_table.test 2007-03-22 10:56:40 +01:00 +++ 1.17/mysql-test/t/temp_table.test 2007-03-23 12:26:19 +01:00 @@ -177,5 +177,6 @@ SELECT AVG( c ) FROM t1 UNION SELECT 1; SELECT 1 UNION SELECT AVG( c ) FROM t1; SELECT 1 UNION SELECT * FROM t2 UNION SELECT 1; SELECT c/1 FROM t1 UNION SELECT 1; +SELECT c FROM t1 UNION SELECT 1; DROP TABLE t1, t2;