use of org.apache.derby.impl.sql.compile.DefaultOptTrace in project derby by apache.
the class OptimizerTrace method setOptimizerTrace.
/**
* Turn default optimizer tracing on or off.
*
* @param onOrOff Whether to turn optimizer tracing on (true) or off (false).
*/
public static void setOptimizerTrace(boolean onOrOff) {
OptTrace optimizerTracer = onOrOff ? new DefaultOptTrace() : null;
setOptimizerTracer(optimizerTracer);
}
Aggregations