// boot with new version and hard-upgrade
case PH_HARD_UPGRADE:
{
// expect no change in entries on upgrade before update
// statistics.
dis.assertStatsCount(true, false);
PreparedStatement ps = prepareStatement(updateStatsSQL);
String[] tables = dis.getTableNames();
for (int i=0; i < tables.length; i++) {
ps.setString(1, tables[i]);
ps.executeUpdate();