List:Internals« Previous MessageNext Message »
From:eugene Date:November 16 2005 12:08am
Subject:bk commit into 5.0 tree (evgen:1.1960)
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.1960 05/11/16 02:08:20 evgen@stripped +2 -0
  Merge

  mysql-test/t/view.test
    1.124 05/11/16 02:08:19 evgen@stripped +0 -0
    SCCS merged

  mysql-test/r/view.result
    1.134 05/11/16 02:08:19 evgen@stripped +0 -0
    SCCS 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/14816-bug-5.0-mysql/RESYNC

--- 1.133/mysql-test/r/view.result	2005-11-14 21:51:49 +03:00
+++ 1.134/mysql-test/r/view.result	2005-11-16 02:08:19 +03:00
@@ -2385,6 +2385,14 @@
 View	Create View
 v1	CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY INVOKER VIEW `v1` AS select 1 AS `1`
 drop view v1;
+create table t1 (id INT, primary key(id));
+insert into t1 values (1),(2);
+create view v1 as select * from t1;
+explain select id from v1 order by id;
+id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
+1	PRIMARY	t1	index	NULL	PRIMARY	4	NULL	2	Using index
+drop view v1;
+drop table t1;
 create table t1(f1 int, f2 int);
 insert into t1 values (null, 10), (null,2);
 create view v1 as select * from t1;

--- 1.123/mysql-test/t/view.test	2005-11-14 21:52:04 +03:00
+++ 1.124/mysql-test/t/view.test	2005-11-16 02:08:19 +03:00
@@ -2255,6 +2255,16 @@
 drop view v1;
 
 #
+# Bug #14816 test_if_order_by_key() expected only Item_fields.
+#
+create table t1 (id INT, primary key(id));
+insert into t1 values (1),(2);
+create view v1 as select * from t1;
+explain select id from v1 order by id;
+drop view v1;
+drop table t1;
+
+#
 # Bug #14850 Item_ref's values wasn't updated
 #
 create table t1(f1 int, f2 int);
Thread
bk commit into 5.0 tree (evgen:1.1960)eugene17 Nov