throws SQLException
{
JDBC.assertFullResultSet(s.executeQuery(sql), rows);
RuntimeStatisticsParser parser =
SQLUtilities.getRuntimeStatisticsParser(s);
assertEquals("unexpected plan", flattenable, parser.usedExistsJoin());
}
/**
* DERBY-4001: Test that certain NOT EXISTS/NOT IN/ALL subqueries are
* flattened, and that their predicates are not pulled out. Their