diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-12-17 20:15:15 +0200 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-12-17 20:15:15 +0200 |
commit | 28eaef797401bbdd9f2f4e75a80f6c97628e0354 (patch) | |
tree | 8bfc3e448a5e9403d2385457506b73f19634a3af /mysql-test/r/derived.result | |
parent | fddbc989a4c42a58f5986fb158145763ce47107a (diff) | |
download | mariadb-git-28eaef797401bbdd9f2f4e75a80f6c97628e0354.tar.gz |
A fix for a bug in fix_fields in case like this:
select .. UNION select some_column;
This is exhibited in sub-selects and derived tables.
Diffstat (limited to 'mysql-test/r/derived.result')
-rw-r--r-- | mysql-test/r/derived.result | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/derived.result b/mysql-test/r/derived.result index 03e00b206b2..c4475cf7357 100644 --- a/mysql-test/r/derived.result +++ b/mysql-test/r/derived.result @@ -123,3 +123,5 @@ SELECT * FROM (SELECT (SELECT * FROM (SELECT 1 as a) as a )) as b; select * from (select 1 as a) b left join (select 2 as a) c using(a); a a 1 NULL +SELECT * FROM (SELECT 1 UNION SELECT a) b; +Unknown column 'a' in 'field list' |