dbms: fixed error with JOIN [#METR-14411].

This commit is contained in:
Alexey Milovidov 2014-12-19 05:30:13 +03:00
parent 06d92dba61
commit a362a666eb
3 changed files with 14 additions and 1 deletions

View File

@ -146,7 +146,7 @@ private:
/** Блоки данных таблицы, с которой идёт соединение. /** Блоки данных таблицы, с которой идёт соединение.
*/ */
Blocks blocks; BlocksList blocks;
MapsAny maps_any; MapsAny maps_any;
MapsAll maps_all; MapsAll maps_all;

View File

@ -0,0 +1,12 @@
SELECT
1 AS DomainID,
Domain ANY LEFT JOIN
(
SELECT
1 AS DomainID,
'abc' AS Domain
UNION ALL
SELECT
2 AS DomainID,
'def' AS Domain
) USING DomainID;