Remember the query in mapi_qeury_part for the error message (otherwise lots of stable output needs to be changed ;-). Factored out some common code in mapi_explain and mapi_explain_query, and also use this code for the query (so that it is nicely alligned with the rest).
Remember the query in mapi_qeury_part for the error message (otherwise
lots of stable output needs to be changed ;-).
Factored out some common code in mapi_explain and mapi_explain_query,
and also use this code for the query (so that it is nicely alligned
with the rest).

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb