We have such multistatements working for selectshow something (status, meta, warnings).
During one session of CLI that is not the problem to fire two command one after another.
However in some situation it is inappropriate. For example, .NET connector uses connection pool, so that call pq may come via one connection, and then show meta on another, and will fail to display correct data because of it. Also, API 'sphinxql' call incapsulates sphinxql into one string, and do the call one-shoot. For selects we have multistatements just especially for the case; for call pq - not.
It would be good to make it also working for call pq as well, since it is the same kind of call as select.
Since originally general call was specified as call pq for this purpose, now we have to deal with specific one case of call to solve it.
However it is need to consider, if it is ok to have show something to work with any kind of call, not specifically with call pq only (it will both, make things simpler and may provide benefits to another call flavours.
We have such multistatements working for
select
show something
(status, meta, warnings).During one session of CLI that is not the problem to fire two command one after another.
However in some situation it is inappropriate. For example, .NET connector uses connection pool, so that
call pq
may come via one connection, and thenshow meta
on another, and will fail to display correct data because of it. Also, API 'sphinxql' call incapsulates sphinxql into one string, and do the call one-shoot. For selects we have multistatements just especially for the case; forcall pq
- not.It would be good to make it also working for
call pq
as well, since it is the same kind of call asselect
.Since originally general
call
was specified ascall pq
for this purpose, now we have to deal with specific one case ofcall
to solve it.However it is need to consider, if it is ok to have
show something
to work with any kind ofcall
, not specifically withcall pq
only (it will both, make things simpler and may provide benefits to anothercall
flavours.