changed the way to tansfer the sub query mode.

This patch makes the sub query mode of SQLProcessorSelectInstance
set on an constructor. Previously its mode is passed by an argument
of the function. But it is not changed during the statement
processing. So I think the this is better way.