** Check the row count only every N executions. OK to check this
** without synchronization, since the value of this number is not
** critical. The value of N is determined by the property
** derby.language.stalePlanCheckInterval.
*/
int executionCount = ps.incrementExecutionCount();
/*
** Always check row counts the first time, to establish the
** row counts for each result set. After that, don't check
** if the execution count is below the minimum row count check