[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-internals
Subject: bk commit into 4.1 tree (1.1544)
From: sanja () mysql ! com
Date: 2003-06-28 14:04:28
[Download RAW message or body]
Below is the list of changes that have just been committed into a local
4.1 repository of bell. When bell 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://www.mysql.com/doc/I/n/Installing_source_tree.html
ChangeSet
1.1544 03/06/28 17:04:26 bell@sanja.is.com.ua +3 -0
fixed bug #745
(resolving fields of reduced subselect)
sql/sql_union.cc
1.78 03/06/28 17:04:17 bell@sanja.is.com.ua +2 -1
to get chance of outer resolved_fields resolve fields of result table as usual fileds
mysql-test/t/subselect.test
1.69 03/06/28 17:04:17 bell@sanja.is.com.ua +2 -0
test of bug #745
mysql-test/r/subselect.result
1.78 03/06/28 17:04:17 bell@sanja.is.com.ua +3 -0
test of bug #745
# 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: bell
# Host: sanja.is.com.ua
# Root: /home/bell/mysql/bk/work-union-4.1
--- 1.77/sql/sql_union.cc Thu Jun 19 15:25:38 2003
+++ 1.78/sql/sql_union.cc Sat Jun 28 17:04:17 2003
@@ -344,7 +344,8 @@
if (select_limit_cnt == HA_POS_ERROR)
thd->options&= ~OPTION_FOUND_ROWS;
fake_select->ftfunc_list= &empty_list;
-
+ fake_select->table_list.link_in_list((byte *)&result_table_list,
+ (byte **)&result_table_list.next);
res= mysql_select(thd, &ref_pointer_array, &result_table_list,
0, item_list, NULL,
global_parameters->order_list.elements,
--- 1.77/mysql-test/r/subselect.result Sat Jun 28 14:32:05 2003
+++ 1.78/mysql-test/r/subselect.result Sat Jun 28 17:04:17 2003
@@ -1172,3 +1172,6 @@
test test
test1 test1
drop table if exists t1;
+(SELECT 1 as a) UNION (SELECT 1) ORDER BY (SELECT a+0);
+a
+1
--- 1.68/mysql-test/t/subselect.test Sat Jun 28 14:32:05 2003
+++ 1.69/mysql-test/t/subselect.test Sat Jun 28 17:04:17 2003
@@ -763,3 +763,5 @@
INSERT INTO t1 (id,pseudo,email) VALUES (1,'test','test'),(2,'test1','test1');
SELECT pseudo as a, pseudo as b FROM t1 GROUP BY (SELECT a) ORDER BY (SELECT id*1);
drop table if exists t1;
+
+(SELECT 1 as a) UNION (SELECT 1) ORDER BY (SELECT a+0);
--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?unsub=mysql-internals@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic