List:Internals« Previous MessageNext Message »
From:Sergey Petrunia Date:August 8 2005 12:10am
Subject:bk commit into 5.0 tree (sergefp:1.1957)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of psergey. When psergey 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
  1.1957 05/08/07 22:10:05 sergefp@stripped +2 -0
  Post-merge fixes

  mysql-test/t/group_by.test
    1.51 05/08/07 22:09:58 sergefp@stripped +5 -5
    Post-merge fixes

  mysql-test/r/group_by.result
    1.63 05/08/07 22:09:58 sergefp@stripped +5 -5
    Post-merge fixes

# 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:	sergefp
# Host:	newbox.mylan
# Root:	/home/psergey/mysql-5.0-bug11869-part3

--- 1.62/mysql-test/r/group_by.result	2005-08-07 21:30:42 +00:00
+++ 1.63/mysql-test/r/group_by.result	2005-08-07 22:09:58 +00:00
@@ -751,11 +751,6 @@
 1	NULL
 1	a problem
 DROP TABLE t1, t2;
-CREATE TABLE t1 (n int);
-INSERT INTO t1 VALUES (1);
-SELECT n+1 AS n FROM t1 GROUP BY n;
-n
-2
 create table t1 (f1 date);
 insert into t1 values('2005-06-06');
 insert into t1 values('2005-06-06');
@@ -763,6 +758,11 @@
 date(left(f1+0,8))
 2005-06-06
 drop table t1;
+CREATE TABLE t1 (n int);
+INSERT INTO t1 VALUES (1);
+SELECT n+1 AS n FROM t1 GROUP BY n;
+n
+2
 Warnings:
 Warning	1052	Column 'n' in group statement is ambiguous
 DROP TABLE t1;

--- 1.50/mysql-test/t/group_by.test	2005-08-07 21:30:42 +00:00
+++ 1.51/mysql-test/t/group_by.test	2005-08-07 22:09:58 +00:00
@@ -575,6 +575,11 @@
 INSERT INTO t1 VALUES ('trans1'), ('trans2');
 CREATE TABLE t2 (id varchar(20) NOT NULL, err_comment blob NOT NULL);
 INSERT INTO t2 VALUES ('trans1', 'a problem');
+SELECT COUNT(DISTINCT(t1.id)), LEFT(err_comment, 256) AS comment
+  FROM t1 LEFT JOIN t2 ON t1.id=t2.id GROUP BY comment;
+
+DROP TABLE t1, t2;
+
 
 #
 # Bug #12266 GROUP BY expression on DATE column produces result with
@@ -585,11 +590,6 @@
 insert into t1 values('2005-06-06'); 
 select date(left(f1+0,8)) from t1 group by 1;
 drop table t1;
-
-SELECT COUNT(DISTINCT(t1.id)), LEFT(err_comment, 256) AS comment
-  FROM t1 LEFT JOIN t2 ON t1.id=t2.id GROUP BY comment;
-
-DROP TABLE t1, t2;
 
 #
 # Test for bug #11414: crash on Windows for a simple GROUP BY query 
Thread
bk commit into 5.0 tree (sergefp:1.1957)Sergey Petrunia7 Aug