You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-1052 ExeMgr now logs original queries processed by GROUP BY handler.
This commit is contained in:
@ -5313,8 +5313,12 @@ int ha_calpont_impl_group_by_init(ha_calpont_group_by_handler* group_hand, TABLE
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
string query;
|
string query;
|
||||||
query.assign(thd->infinidb_vtable.original_query.ptr(),
|
// Set the query text only once if the server executes
|
||||||
thd->infinidb_vtable.original_query.length());
|
// subqueries separately.
|
||||||
|
if(ci->queryState)
|
||||||
|
query.assign("<subquery of the previous>");
|
||||||
|
else
|
||||||
|
query.assign(thd->query_string.str(), thd->query_string.length());
|
||||||
csep->data(query);
|
csep->data(query);
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Reference in New Issue
Block a user