stats.assertNoStatsTable("TEST_TAB_1");
s.executeUpdate("ALTER TABLE TEST_TAB_2 "+
"DROP CONSTRAINT TEST_TAB_2_FK_1");
//Dropping the foreign key constraint should cause the statistics row
// for TEST_TAB_2 to be dropped as well.
stats.assertNoStatsTable("TEST_TAB_2");
s.execute("CALL SYSCS_UTIL.SYSCS_UPDATE_STATISTICS('APP','TEST_TAB_2', null)");
stats.assertNoStatsTable("TEST_TAB_2");
s.execute("CALL SYSCS_UTIL.SYSCS_DROP_STATISTICS('APP','TEST_TAB_2', null)");
//After DERBY-4115 is implemented, we will see no statistics
// for TEST_TAB_2 after calling SYSCS_DROP_STATISTICS on it.