stmt.close();
// There should still be a statistics object written during the
// compress operation.
IndexStatsUtil myStats =
new IndexStatsUtil(ds.getConnection(), DEFAULT_TIMEOUT);
myStats.assertTableStats(TAB1, 1);
// Trigger stats update on secondary table, make sure the daemon can
// still process work.
myStats.assertNoStatsTable(TAB2);
ps = con.prepareStatement("select * from " + TAB2 + " where id = ?");