1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

fixed problem with reference on derived table fields (BUG#1031)

This commit is contained in:
bell@sanja.is.com.ua
2003-08-12 15:04:49 +03:00
parent c767f0b2a0
commit b6a8d68ae4
8 changed files with 26 additions and 14 deletions

View File

@ -192,3 +192,7 @@ id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 6 Using where
2 DERIVED mp ALL NULL NULL NULL NULL 9 Using temporary; Using filesort
2 DERIVED m2 index NULL PRIMARY 3 NULL 9 Using index
drop table t1,t2;
SELECT a.x FROM (SELECT 1 AS x) AS a HAVING a.x = 1;
x
1