You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
Merge pull request #1195 from jmrojas2332/MCOL-3813
MCOL-3813 Count with view is incorrect
This commit is contained in:
@@ -1303,7 +1303,7 @@ uint32_t buildOuterJoin(gp_walk_info& gwi, SELECT_LEX& select_lex)
|
|||||||
// View is already processed in view::transform
|
// View is already processed in view::transform
|
||||||
// @bug5319. view is sometimes treated as derived table and
|
// @bug5319. view is sometimes treated as derived table and
|
||||||
// fromSub::transform does not build outer join filters.
|
// fromSub::transform does not build outer join filters.
|
||||||
if (!table_ptr->derived && table_ptr->view)
|
if (!table_ptr->derived && table_ptr->view && !gwi.subQuery)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
CalpontSystemCatalog:: TableAliasName tan = make_aliasview(
|
CalpontSystemCatalog:: TableAliasName tan = make_aliasview(
|
||||||
|
Reference in New Issue
Block a user