The problem is that the xquery is so long that's it drops in time out, and in this case I don't have the QP. But with the -x and a stop of the server before the time out there is an interrupt catched by the client and the QP is out! Perhaps with a -d I don't remember.
Marc
Le vendredi 4 juillet 2014 17:08:13, Christian Grün a écrit :
Hi Marc,
sorry for letting you wait.
I try the -x -R flags on the basexclient, but with the -R flag I only receive the optimized query, not the plan.
I just tried it on command-line, and it seems to work as expected (see below). What version of BaseX are you working with? How does your command/line call look like, and what result would you expect?
Christian ___________________________
basexclient -Uadmin -Padmin -x -R "1+2"
Query plan:
<QueryPlan> <Int value="3" type="xs:integer"/> </QueryPlan>
Query "Desktop" executed in 0.29 ms.