List:Internals« Previous MessageNext Message »
From:eugene Date:July 13 2005 2:39am
Subject:bk commit into 5.0 tree (evgen:1.1917)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of evgen. When evgen 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.1917 05/07/13 04:39:22 evgen@stripped +2 -0
  Merge epotemkin@stripped:/home/bk/mysql-5.0
  into moonbone.local:/work/mysql-5.0-bug-11709

  mysql-test/t/view.test
    1.83 05/07/13 04:39:20 evgen@stripped +0 -0
    Auto merged

  mysql-test/r/view.result
    1.88 05/07/13 04:39:20 evgen@stripped +0 -0
    Auto merged

# 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:	evgen
# Host:	moonbone.local
# Root:	/work/mysql-5.0-bug-11709/RESYNC

--- 1.87/mysql-test/r/view.result	2005-07-12 19:33:00 +04:00
+++ 1.88/mysql-test/r/view.result	2005-07-13 04:39:20 +04:00
@@ -1953,6 +1953,16 @@
 DROP PROCEDURE p1;
 DROP VIEW v1;
 DROP TABLE t1;
+create table t1 (f1 int, f2 int);
+create view v1 as select f1 as f3, f2 as f1 from t1;
+insert into t1 values (1,3),(2,1),(3,2);
+select * from v1 order by f1;
+f3	f1
+2	1
+3	2
+1	3
+drop view v1;
+drop table t1;
 CREATE TABLE t1 (f1 char) ENGINE = innodb;
 INSERT INTO t1 VALUES ('A');
 CREATE VIEW  v1 AS SELECT * FROM t1;

--- 1.82/mysql-test/t/view.test	2005-07-12 19:31:23 +04:00
+++ 1.83/mysql-test/t/view.test	2005-07-13 04:39:20 +04:00
@@ -1793,6 +1793,16 @@
 DROP TABLE t1;
 
 #
+# Test for bug #11709 View was ordered by wrong column
+#
+create table t1 (f1 int, f2 int);
+create view v1 as select f1 as f3, f2 as f1 from t1;
+insert into t1 values (1,3),(2,1),(3,2);
+select * from v1 order by f1;
+drop view v1;
+drop table t1;
+
+#
 # Test for bug #11771: wrong query_id in SELECT * FROM <view>
 #
 
Thread
bk commit into 5.0 tree (evgen:1.1917)eugene12 Jul